From 6096df6978509f1a523b66d077499c869643593f Mon Sep 17 00:00:00 2001 From: Never Gude Date: Sat, 21 Feb 2026 02:07:03 +0100 Subject: [PATCH] SHORK --- Makefile | 5 +- build/articles/latex-endeavors.html | 3 +- build/articles/random-linux-utils.html | 3 +- build/articles/rsync-android.html | 3 +- build/index.html | 71 +-------------- build/rss.xml | 2 +- images/shark.png | Bin 115365 -> 0 bytes images/shork.png | Bin 0 -> 99325 bytes images/shork.xcf | Bin 0 -> 222909 bytes pandoc/html-template.html | 3 +- public_html/eh/eh/eh/eh-eh/images/shork.png | Bin 0 -> 99325 bytes public_html/eh/eh/eh/eh-eh/images/shork.xcf | Bin 0 -> 222909 bytes public_html/eh/eh/eh/eh-eh/index.html | 71 +-------------- .../eh/eh/eh/eh-eh/latex-endeavors.html | 3 +- .../eh/eh/eh/eh-eh/random-linux-utils.html | 3 +- public_html/eh/eh/eh/eh-eh/rss.xml | 2 +- public_html/eh/eh/eh/eh-eh/rsync-android.html | 3 +- public_html/eh/eh/eh/eh-eh/scripts/shork.js | 84 ++++++++++++++++++ public_html/eh/eh/eh/eh-eh/styles/style.css | 13 ++- scripts/shork.js | 84 ++++++++++++++++++ styles/style.css | 13 ++- 21 files changed, 201 insertions(+), 165 deletions(-) delete mode 100644 images/shark.png create mode 100644 images/shork.png create mode 100644 images/shork.xcf create mode 100644 public_html/eh/eh/eh/eh-eh/images/shork.png create mode 100644 public_html/eh/eh/eh/eh-eh/images/shork.xcf create mode 100644 public_html/eh/eh/eh/eh-eh/scripts/shork.js create mode 100644 scripts/shork.js diff --git a/Makefile b/Makefile index 0df6def..c6c978d 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ INSTALLDIR_ANSI := public_ansi/ ARTICLEDIR := articles PANDOCDIR := pandoc STYLEDIR := styles +SCRIPTDIR := scripts IMAGEDIR := images # The name of the stylesheet. This needs to be copied to any directory containing html files that use it. @@ -37,7 +38,7 @@ articles_ansi := $(patsubst $(SRCDIR)/%.md, $(BUILDDIR)/%, $(articles_md)) all: $(BUILDDIR)/index.html $(BUILDDIR)/index $(BUILDDIR)/rss.xml install: - cp -r $(BUILDDIR)/index.html $(BUILDDIR)/rss.xml $(articles_html) $(STYLEDIR) $(IMAGEDIR) $(INSTALLDIR_HTML); \ + cp -r $(BUILDDIR)/index.html $(BUILDDIR)/rss.xml $(articles_html) $(STYLEDIR) $(SCRIPTDIR) $(IMAGEDIR) $(INSTALLDIR_HTML); \ cp -r $(BUILDDIR)/index $(articles_ansi) $(INSTALLDIR_ANSI); clean: @@ -66,7 +67,7 @@ $(BUILDDIR)/index.html: $(SRCDIR)/index.md $(articles_html) | $(BUILDDIR) jq '.articles |= sort_by(.date) | .articles |= reverse' ${article_list} > articles.json.tmp; \ mv articles.json.tmp ${article_list}; \ # Build index.html with metadata injected from articles_list - pandoc $< --template $(template_html) --include-after-body $(shark_js) --css $(style) --metadata-file $(article_list) --highlight-style $(syntax_style) --mathml --toc --output $@; + pandoc $< --template $(template_html) --css $(style) --metadata-file $(article_list) --highlight-style $(syntax_style) --mathml --toc --output $@; $(BUILDDIR)/index: $(SRCDIR)/index.md $(articles_ansi) | $(BUILDDIR) pandoc $< --template $(template_ansi) --metadata-file $(article_list) --to ansi --output $@ diff --git a/build/articles/latex-endeavors.html b/build/articles/latex-endeavors.html index 1f482a5..37f6c7c 100644 --- a/build/articles/latex-endeavors.html +++ b/build/articles/latex-endeavors.html @@ -27,7 +27,7 @@ - +