Modify templates to use loading="lazy"

This commit is contained in:
Ciro Santilli
2020-09-15 01:00:00 +00:00
parent 3b8d50157e
commit 4c08e7b611
6 changed files with 59 additions and 2 deletions

View File

@@ -12,12 +12,14 @@ else
MEDIA_CMD = -a china-dictatorship-media-base='$(MEDIA)'
endif
$(OUT): README.adoc $(HEAD) $(FOOT)
$(OUT): README.adoc $(HEAD) $(FOOT) template_dir/*
bundle exec asciidoctor \
$(MEDIA_CMD) \
--embedded \
--failure-level info \
-o $(BODY) \
--template-dir template_dir \
--trace \
-v \
'$<'
cat $(HEAD) $(BODY) $(FOOT) > '$@'