From 49d8df688eafbda7bf394e50f540057486652e78 Mon Sep 17 00:00:00 2001 From: Never Gude Date: Thu, 11 Dec 2025 02:20:20 +0100 Subject: [PATCH] fixes --- public_html/eh/eh/eh/eh-eh/Makefile | 9 +- public_html/eh/eh/eh/eh-eh/article-1.html | 6 +- public_html/eh/eh/eh/eh-eh/article.json.tmp | 1 - public_html/eh/eh/eh/eh-eh/articles.json | 7 ++ public_html/eh/eh/eh/eh-eh/articles.json.tmp | 26 +++++ .../eh/eh/eh/eh-eh/articles/article-1.md | 30 +++++ public_html/eh/eh/eh/eh-eh/index.html | 7 ++ .../eh/eh/eh-eh/pandoc/articles-template.txt | 6 - .../eh/eh/eh/eh-eh/pandoc/cups_left.svg | 79 ++++++++++++++ .../eh/eh/eh/eh-eh/pandoc/cups_left_dark.svg | 101 +++++++++++++++++ .../eh/eh/eh/eh-eh/pandoc/cups_logo.svg | 103 ++++++++++++++++++ .../eh/eh/eh/eh-eh/pandoc/cups_logo_dark.svg | 34 ++++++ .../eh/eh/eh/eh-eh/pandoc/cups_right.svg | 79 ++++++++++++++ .../eh/eh/eh/eh-eh/pandoc/cups_right_dark.svg | 101 +++++++++++++++++ public_html/eh/eh/eh/eh-eh/pandoc/style.css | 1 + 15 files changed, 575 insertions(+), 15 deletions(-) delete mode 100644 public_html/eh/eh/eh/eh-eh/article.json.tmp create mode 100644 public_html/eh/eh/eh/eh-eh/articles.json.tmp create mode 100644 public_html/eh/eh/eh/eh-eh/articles/article-1.md delete mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/articles-template.txt create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_left.svg create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_left_dark.svg create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_logo.svg create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_logo_dark.svg create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_right.svg create mode 100644 public_html/eh/eh/eh/eh-eh/pandoc/cups_right_dark.svg diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index 0c3b7cb..b6ea90c 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -10,16 +10,15 @@ all: index.html about.html clean: echo '{"articles": []}' > $(article_list); \ - rm $(articles); \ - rm index.html about.html; + # rm $(notdir $(articles)); \ + rm ./index.html ./about.html ./articles.json.tmp; -$(articles): %.html: %.md +$(articles): %.html: %.md clean pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ 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; + cat ./articles.json.tmp > ./articles.json; index.html: index.md $(articles) pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@ diff --git a/public_html/eh/eh/eh/eh-eh/article-1.html b/public_html/eh/eh/eh/eh-eh/article-1.html index 68e02ec..0ebd015 100644 --- a/public_html/eh/eh/eh/eh-eh/article-1.html +++ b/public_html/eh/eh/eh/eh-eh/article-1.html @@ -5,7 +5,7 @@ - Article 1 + Article DSADASD