diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index eeb3cf7..0c3b7cb 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -15,8 +15,10 @@ clean: $(articles): %.html: %.md pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ - jq '.articles += [$(shell pandoc $< --template $(list_template))]' $(article_list) > articles.json.tmp; - cat ./articles.json.tmp > articles.json; + pandoc $< --template $(list_template) > article.json.tmp.0; \ + jq '. += {"filename": "$(notdir $@)"}' article.json.tmp.0 > article.json.tmp.1; \ + jq '.articles += [$(shell cat article.json.tmp.1)]' $(article_list) > articles.json.tmp; \ + cat ./articles.json.tmp > ./articles.json; \ rm ./articles.json.tmp; index.html: index.md $(articles) diff --git a/public_html/eh/eh/eh/eh-eh/about.html b/public_html/eh/eh/eh/eh-eh/about.html index 7dd2873..a3a2409 100644 --- a/public_html/eh/eh/eh/eh-eh/about.html +++ b/public_html/eh/eh/eh/eh-eh/about.html @@ -26,7 +26,7 @@