1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

Add image popup effect

This commit is contained in:
Cotes Chung
2021-04-21 23:17:34 +08:00
parent e8296fe2e4
commit 84bb4d0c4b
15 changed files with 124 additions and 74 deletions

View File

@@ -46,7 +46,6 @@
{% assign _content = _content | replace: '<img src="/', img_path_replacement %}
<!-- lazy-load images <https://github.com/ApoorvSaxena/lozad.js#usage> -->
{% assign lozad = true %}
{% assign img_placehodler
= 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' %}
@@ -60,7 +59,3 @@
<!-- return -->
{{ _content }}
{% if lozad %}
{% include lozad.html %}
{% endif %}