1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Ignore image links in html-proofer test

This commit is contained in:
Cotes Chung
2021-06-30 20:11:10 +08:00
parent 6d1d440c00
commit 9359d6ef11
2 changed files with 2 additions and 5 deletions

View File

@@ -48,7 +48,7 @@
{% assign _content = _content | replace: '<img src="/', img_path_replacement %}
<!-- lazy-load images <https://github.com/ApoorvSaxena/lozad.js#usage> -->
{% assign _content = _content | replace: '<img src="', '<img data-src="' %}
{% assign _content = _content | replace: '<img src="', '<img data-proofer-ignore data-src="' %}
<!-- add image placehoder to prevent layout reflow -->