diff --git a/Makefile b/Makefile index e451e17..b3945d6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ IN = README.adoc OPTS = \ --failure-level info \ - --template-dir template_dir \ --trace \ -v OUT = README.html @@ -27,10 +26,15 @@ $(OUT): $(IN) $(HEAD) $(FOOT) template_dir/* @# @# --template-dir initially added for loading="lazy" on images and youtube iframes: @# https://stackoverflow.com/questions/63917971/how-to-create-custom-html-output-for-an-existing-asciidoctor-asciidoc-macro + @# + @# --template-dir not in opts due to: + @# https://github.com/owenh000/asciidoctor-multipage/issues/19 + @# It is not however very important in multipage output. bundle exec asciidoctor \ $(MEDIA_CMD) \ --embedded \ -o $(BODY) \ + --template-dir template_dir \ $(OPTS) \ '$<' cat $(HEAD) $(BODY) $(FOOT) > '$@' diff --git a/README-docinfo.html b/README-docinfo.html index e136a10..f9b898c 100644 --- a/README-docinfo.html +++ b/README-docinfo.html @@ -15,3 +15,11 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) ga('create', 'UA-47867706-1', 'auto'); ga('send', 'pageview'); + + + diff --git a/head.html b/head.html index 4be4f1d..5bf7179 100644 --- a/head.html +++ b/head.html @@ -452,14 +452,12 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) ga('create', 'UA-47867706-1', 'auto'); ga('send', 'pageview'); -