Hello World
diff --git a/--standalone b/--standalone deleted file mode 100644 index 833348a..0000000 --- a/--standalone +++ /dev/null @@ -1,12 +0,0 @@ -[22m[23m[36m[49m[4m[29m]8;;https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.html\Rsync Android[0m]8;;\ - -[1m[23m[39m[49m[24m[29mStuff[0m - -$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} $$ - -[22m[23m[36m[49m[4m[29m]8;;https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.htmlAndroid[0m]8;; - -[1m[23m[39m[49m[24m[29mStuff[0m - -$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} $$[0m]8;; -[0m]8;;\ diff --git a/--titleblock b/--titleblock deleted file mode 100644 index 833348a..0000000 --- a/--titleblock +++ /dev/null @@ -1,12 +0,0 @@ -[22m[23m[36m[49m[4m[29m]8;;https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.html\Rsync Android[0m]8;;\ - -[1m[23m[39m[49m[24m[29mStuff[0m - -$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} $$ - -[22m[23m[36m[49m[4m[29m]8;;https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.htmlAndroid[0m]8;; - -[1m[23m[39m[49m[24m[29mStuff[0m - -$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} $$[0m]8;; -[0m]8;;\ diff --git a/Makefile b/Makefile index d4cc0bc..9749fec 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ style := style.css images := images # Main html template that pandoc uses to generate .html from .md files -template := pandoc/template.html +template_html := pandoc/template.html +template_ansi := pandoc/template # Template for extracting metadata of .md files in json format list_template := pandoc/meta-json-template.txt @@ -34,25 +35,25 @@ $(articles_html): %.html: %.md mv ./articles.json.tmp $(article_list); \ # Build articles using pandoc - pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@; \ + pandoc $< --template $(template_html) --css $(style) --highlight-style zenburn --mathml --toc --output $@; \ # Extract metadata from .md file, append filename field to the article object. # This is used to link to the article from index.html. Append article object to the article list. - jq '.articles += [$(shell pandoc $< --template $(list_template) | jq '. += {"filename": "$(notdir $@)"}' )]' $(article_list) > articles.json.tmp; \ + jq '.articles += [$(shell pandoc $< --template $(list_template) | jq '. += {"filename": "$(patsubst %.html, %, $(notdir $@))"}')]' $(article_list) > articles.json.tmp; \ mv ./articles.json.tmp $(article_list); \ $(articles_ansi): %: %.md - pandoc $< --standalone --to ansi --output $@ + pandoc $< --template $(template_ansi) --to ansi --output $@ index.html: index.md $(articles_html) # Build index.html with metadata injected from articles_list - pandoc $< --template $(template) --include-after-body shark.js --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@; \ + pandoc $< --template $(template_html) --include-after-body shark.js --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@; \ -index: index.md $(articles_ansi) - pandoc $< --standalone --to ansi --output $@ +index: index.md $(articles_html) $(articles_ansi) + pandoc $< --template $(template_ansi) --metadata-file $(article_list) --to ansi --output $@ about.html: about.md - pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@ + pandoc $< --template $(template_html) --css $(style) --highlight-style zenburn --mathml --toc --output $@ about: about.md - pandoc $< --standalone --to ansi --output $@ + pandoc $< --template $(template_ansi) --to ansi --output $@ diff --git a/articles.json b/articles.json index cf64f68..4872ffd 100644 --- a/articles.json +++ b/articles.json @@ -6,7 +6,7 @@ "subtitle": "Some unintuitive quirks of Latex", "summary": "Latex undoubtedly has some quirks. Some of them have a rather unintuitive solution. In this article I cover some quirks and solutions I have encountered.", "title": "Latex Endeavors", - "filename": "latex-endeavors.html" + "filename": " latex-endeavors" }, { "author": "Never", @@ -14,14 +14,14 @@ "subtitle": "Neat things I picked up along the way", "summary": "Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things.", "title": "Random linux utilities", - "filename": "random-linux-utils.html" + "filename": " random-linux-utils" }, { "author": "Never", "date": "12.01.2026", "summary": "As Spotify is getting enshittified by capitalism, keeping a music library is kind of essential. Here I use rsync to syncronise my library with my Android smartphone.", "title": "Using rsync on Android to syncronise my Music library", - "filename": "rsync-android.html" + "filename": " rsync-android" } ] } diff --git a/index b/index index 3bae2de..d127fcf 100644 --- a/index +++ b/index @@ -2,6 +2,25 @@ ──────────────────── +Hello World +[1m[23m[39m[49m[24m[29mARTICLES[0m +[1m[23m[39m[49m[24m[29mLatex Endeavors[0m (latex-endeavors) +Latex undoubtedly has some quirks. Some of them have a rather +unintuitive solution. In this article I cover some quirks and solutions +I have encountered. + Never - [22m[3m[39m[49m[24m[29m9.1.2026[0m + +[1m[23m[39m[49m[24m[29mRandom linux utilities[0m (random-linux-utils) +Tricks and tools I learned about, while tweaking my Linux sytem or +trying to do productive things. + Never - [22m[3m[39m[49m[24m[29m25.7.2025[0m + +[1m[23m[39m[49m[24m[29mUsing rsync on Android to syncronise my Music +library[0m (rsync-android) +As Spotify is getting enshittified by capitalism, keeping a music +library is kind of essential. Here I use rsync to syncronise my library +with my Android smartphone. + Never - [22m[3m[39m[49m[24m[29m12.01.2026[0m [0m]8;;\ \ No newline at end of file diff --git a/index.html b/index.html index 1bc5267..60c28dc 100644 --- a/index.html +++ b/index.html @@ -44,11 +44,8 @@
Hello World