From 3ca1685ec6658cad39c910bd363d6fdc18615a1f Mon Sep 17 00:00:00 2001 From: Never Gude Date: Thu, 12 Feb 2026 04:10:35 +0100 Subject: [PATCH] changes --- Makefile | 15 +++---- build/articles/latex-endeavors.html | 3 +- build/articles/random-linux-utils.html | 3 +- build/articles/rsync-android.html | 3 +- build/index.html | 3 +- build/{rssfeed.xml => rss.xml} | 15 +++---- pandoc/{template => ansi-template} | 0 pandoc/{template.html => html-template.html} | 3 +- ...on-template.txt => metadata-template.json} | 0 pandoc/rss-template.xml | 5 ++- public_html/eh/eh/eh/eh-eh/index.html | 3 +- .../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 | 44 +++++++++++++++++++ public_html/eh/eh/eh/eh-eh/rssfeed.xml | 7 ++- public_html/eh/eh/eh/eh-eh/rsync-android.html | 3 +- public_html/eh/eh/eh/eh-eh/styles/style.css | 25 ++++------- src/articles.json | 1 + src/articles/random-linux-utils.md | 1 + src/rss.md | 8 ++++ src/rssfeed.md | 9 ---- styles/style.css | 28 ++++-------- 22 files changed, 108 insertions(+), 77 deletions(-) rename build/{rssfeed.xml => rss.xml} (78%) rename pandoc/{template => ansi-template} (100%) rename pandoc/{template.html => html-template.html} (97%) rename pandoc/{meta-json-template.txt => metadata-template.json} (100%) create mode 100644 public_html/eh/eh/eh/eh-eh/rss.xml create mode 100644 src/rss.md delete mode 100644 src/rssfeed.md diff --git a/Makefile b/Makefile index 027690d..2a0208d 100644 --- a/Makefile +++ b/Makefile @@ -15,11 +15,11 @@ IMAGEDIR := images style := $(STYLEDIR)/style.css # Main html template that pandoc uses to generate .html from .md files -template_html := $(PANDOCDIR)/template.html -template_ansi := $(PANDOCDIR)/template +template_html := $(PANDOCDIR)/html-template.html +template_ansi := $(PANDOCDIR)/ansi-template template_rss := $(PANDOCDIR)/rss-template.xml # Template for extracting metadata of .md files in json format -list_template := $(PANDOCDIR)/meta-json-template.txt +list_template := $(PANDOCDIR)/metadata-template.json # Location of the shark.js shark_js := $(PANDOCDIR)/shark.js @@ -33,10 +33,10 @@ articles_md := $(wildcard $(SRCDIR)/$(ARTICLEDIR)/*.md) articles_html := $(patsubst $(SRCDIR)/%.md, $(BUILDDIR)/%.html, $(articles_md)) articles_ansi := $(patsubst $(SRCDIR)/%.md, $(BUILDDIR)/%, $(articles_md)) -all: $(BUILDDIR)/index.html $(BUILDDIR)/index $(BUILDDIR)/rssfeed.xml +all: $(BUILDDIR)/index.html $(BUILDDIR)/index $(BUILDDIR)/rss.xml install: - cp -r $(BUILDDIR)/index.html $(BUILDDIR)/rssfeed.xml $(articles_html) $(STYLEDIR) $(IMAGEDIR) $(INSTALLDIR_HTML); \ + cp -r $(BUILDDIR)/index.html $(BUILDDIR)/rss.xml $(articles_html) $(STYLEDIR) $(IMAGEDIR) $(INSTALLDIR_HTML); \ cp -r $(BUILDDIR)/index $(articles_ansi) $(INSTALLDIR_ANSI); clean: @@ -53,7 +53,6 @@ $(BUILDDIR)/$(ARTICLEDIR)/%.html: $(SRCDIR)/$(ARTICLEDIR)/%.md | $(BUILDDIR) 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": "$(patsubst %.html,%,$(notdir $@))", "pubdate": "$(shell date -d $(shell pandoc $< --template $(list_template) | jq '.date') --rfc-2822)"}')]' $(article_list) > articles.json.tmp; \ mv articles.json.tmp $(article_list); @@ -71,5 +70,5 @@ $(BUILDDIR)/index.html: $(SRCDIR)/index.md $(articles_html) | $(BUILDDIR) $(BUILDDIR)/index: $(SRCDIR)/index.md $(articles_ansi) | $(BUILDDIR) pandoc $< --template $(template_ansi) --metadata-file $(article_list) --to ansi --output $@ -$(BUILDDIR)/rssfeed.xml: $(SRCDIR)/rssfeed.md $(articles_html) | $(BUILDDIR) - pandoc $< --template $(template_rss) --metadata-file $(article_list) --metadata=builddate:"$(shell date --rfc-2822)" --to html --output $@ +$(BUILDDIR)/rss.xml: $(SRCDIR)/rss.md $(articles_html) | $(BUILDDIR) + pandoc $< --template $(template_rss) --metadata-file $(article_list) --metadata=pubdate:"$(shell jq -r '.articles[0] | .pubdate' $(article_list))" --metadata=builddate:"$(shell date --rfc-2822)" --to html --output $@ diff --git a/build/articles/latex-endeavors.html b/build/articles/latex-endeavors.html index 7ea5cbb..ac7228b 100644 --- a/build/articles/latex-endeavors.html +++ b/build/articles/latex-endeavors.html @@ -29,7 +29,8 @@

Latex Endeavors

diff --git a/build/articles/random-linux-utils.html b/build/articles/random-linux-utils.html index a75d01a..f71ab4a 100644 --- a/build/articles/random-linux-utils.html +++ b/build/articles/random-linux-utils.html @@ -93,7 +93,8 @@

Random linux utilities

diff --git a/build/articles/rsync-android.html b/build/articles/rsync-android.html index acddd02..1da00bb 100644 --- a/build/articles/rsync-android.html +++ b/build/articles/rsync-android.html @@ -93,7 +93,8 @@

Using rsync on Android to syncronise my Music diff --git a/build/index.html b/build/index.html index 092af37..6f8f505 100644 --- a/build/index.html +++ b/build/index.html @@ -27,7 +27,8 @@

Home

diff --git a/build/rssfeed.xml b/build/rss.xml similarity index 78% rename from build/rssfeed.xml rename to build/rss.xml index 8f70531..730478d 100644 --- a/build/rssfeed.xml +++ b/build/rss.xml @@ -1,17 +1,16 @@ -nevereverever.de RSS Feed +nevereverever.de https://nevereverever.de/eh/eh/eh/eh-eh -RSS of my published articles +Here I post random stuff. en-us -Wed, 11 Feb 2026 23:26:41 +0100 -Thu, 12 Feb 2026 02:32:53 +0100 +Mon, 12 Jan 2026 00:00:00 +0100 +Thu, 12 Feb 2026 04:03:34 +0100 https://www.rssboard.org/rss-specification pandoc -Never -Never - +n.gude@posteo.de (Never) +n.gude@poster.de (Never) Using rsync on Android to syncronise my Music library n.gude@posteo.de (Never) @@ -34,7 +33,7 @@ solutions I have encountered. Random linux utilities - (Never) +n.gude@posteo.de (Never) https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things. diff --git a/pandoc/template b/pandoc/ansi-template similarity index 100% rename from pandoc/template rename to pandoc/ansi-template diff --git a/pandoc/template.html b/pandoc/html-template.html similarity index 97% rename from pandoc/template.html rename to pandoc/html-template.html index 2b5e99c..79cf861 100644 --- a/pandoc/template.html +++ b/pandoc/html-template.html @@ -37,7 +37,8 @@ $endif$ $for(include-before)$ $include-before$ diff --git a/pandoc/meta-json-template.txt b/pandoc/metadata-template.json similarity index 100% rename from pandoc/meta-json-template.txt rename to pandoc/metadata-template.json diff --git a/pandoc/rss-template.xml b/pandoc/rss-template.xml index 0b40a92..fd99164 100644 --- a/pandoc/rss-template.xml +++ b/pandoc/rss-template.xml @@ -27,13 +27,14 @@ $endif$ $if(webmaster)$ $webmaster$ $endif$ - $for(articles)$ $if(articles.title)$ $articles.title$ $endif$ -$if(articles.email)$$articles.email$$endif$$if(articles.author)$ ($articles.author$)$endif$ +$if(articles.email)$ +$articles.email$$if(articles.author)$ ($articles.author$)$endif$ +$endif$ $if(articles.filename)$ $link$/$articles.filename$.html $endif$ diff --git a/public_html/eh/eh/eh/eh-eh/index.html b/public_html/eh/eh/eh/eh-eh/index.html index 092af37..6f8f505 100644 --- a/public_html/eh/eh/eh/eh-eh/index.html +++ b/public_html/eh/eh/eh/eh-eh/index.html @@ -27,7 +27,8 @@

Home

diff --git a/public_html/eh/eh/eh/eh-eh/latex-endeavors.html b/public_html/eh/eh/eh/eh-eh/latex-endeavors.html index 7ea5cbb..ac7228b 100644 --- a/public_html/eh/eh/eh/eh-eh/latex-endeavors.html +++ b/public_html/eh/eh/eh/eh-eh/latex-endeavors.html @@ -29,7 +29,8 @@

Latex Endeavors

diff --git a/public_html/eh/eh/eh/eh-eh/random-linux-utils.html b/public_html/eh/eh/eh/eh-eh/random-linux-utils.html index a75d01a..f71ab4a 100644 --- a/public_html/eh/eh/eh/eh-eh/random-linux-utils.html +++ b/public_html/eh/eh/eh/eh-eh/random-linux-utils.html @@ -93,7 +93,8 @@

Random linux utilities

diff --git a/public_html/eh/eh/eh/eh-eh/rss.xml b/public_html/eh/eh/eh/eh-eh/rss.xml new file mode 100644 index 0000000..730478d --- /dev/null +++ b/public_html/eh/eh/eh/eh-eh/rss.xml @@ -0,0 +1,44 @@ + + + +nevereverever.de +https://nevereverever.de/eh/eh/eh/eh-eh +Here I post random stuff. +en-us +Mon, 12 Jan 2026 00:00:00 +0100 +Thu, 12 Feb 2026 04:03:34 +0100 +https://www.rssboard.org/rss-specification +pandoc +n.gude@posteo.de (Never) +n.gude@poster.de (Never) + +Using rsync on Android to syncronise my Music library +n.gude@posteo.de (Never) +https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.html +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. +Mon, 12 Jan 2026 00:00:00 +0100 +rsync-android + + +Latex Endeavors +n.gude@posteo.de (Never) +https://nevereverever.de/eh/eh/eh/eh-eh/latex-endeavors.html +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. +Fri, 09 Jan 2026 00:00:00 +0100 +latex-endeavors + + +Random linux utilities +n.gude@posteo.de (Never) +https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html +Tricks and tools I learned about, while tweaking my Linux +sytem or trying to do productive things. +Fri, 25 Jul 2025 00:00:00 +0200 +random-linux-utils + + + diff --git a/public_html/eh/eh/eh/eh-eh/rssfeed.xml b/public_html/eh/eh/eh/eh-eh/rssfeed.xml index 8f70531..54077fc 100644 --- a/public_html/eh/eh/eh/eh-eh/rssfeed.xml +++ b/public_html/eh/eh/eh/eh-eh/rssfeed.xml @@ -5,13 +5,12 @@ https://nevereverever.de/eh/eh/eh/eh-eh RSS of my published articles en-us -Wed, 11 Feb 2026 23:26:41 +0100 -Thu, 12 Feb 2026 02:32:53 +0100 +Mon, 12 Jan 2026 00:00:00 +0100 +Thu, 12 Feb 2026 02:45:55 +0100 https://www.rssboard.org/rss-specification pandoc Never Never - Using rsync on Android to syncronise my Music library n.gude@posteo.de (Never) @@ -34,7 +33,7 @@ solutions I have encountered. Random linux utilities - (Never) +n.gude@posteo.de (Never) https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things. diff --git a/public_html/eh/eh/eh/eh-eh/rsync-android.html b/public_html/eh/eh/eh/eh-eh/rsync-android.html index acddd02..1da00bb 100644 --- a/public_html/eh/eh/eh/eh-eh/rsync-android.html +++ b/public_html/eh/eh/eh/eh-eh/rsync-android.html @@ -93,7 +93,8 @@

Using rsync on Android to syncronise my Music diff --git a/public_html/eh/eh/eh/eh-eh/styles/style.css b/public_html/eh/eh/eh/eh-eh/styles/style.css index e6e14cc..2d2da1f 100644 --- a/public_html/eh/eh/eh/eh-eh/styles/style.css +++ b/public_html/eh/eh/eh/eh-eh/styles/style.css @@ -56,35 +56,26 @@ body { } #page-header { + padding: 4pt; display: flex; - flex-direction: row; - flex-wrap: nowrap; justify-content: space-between; - text-align: left; - border: 4pt ridge var(--border); background: url("images/shark-top-small.png"); background-size: contain; + border: 4pt ridge var(--border); } -#page-header li { - list-style: none; - display: inline-block; +#page-header a { + padding: 4pt; + color: var(--foreground); + background-color: var(--button-background); + border: 2pt outset var(--button-border); + text-decoration: none; } #page-header a:active { border: 2pt inset var(--button-border) } -#page-header a { - color: var(--foreground); - text-decoration: none; - margin: 4pt; - padding: 4pt; - border: 2pt outset var(--button-border); - background-color: var(--button-background) -} - -#page-header ul, #articles ul { padding-left: 0; } diff --git a/src/articles.json b/src/articles.json index f90bf8a..cb9c144 100644 --- a/src/articles.json +++ b/src/articles.json @@ -22,6 +22,7 @@ { "author": "Never", "date": "2025-07-25", + "email": "n.gude@posteo.de", "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", diff --git a/src/articles/random-linux-utils.md b/src/articles/random-linux-utils.md index 7355edf..e2b8374 100644 --- a/src/articles/random-linux-utils.md +++ b/src/articles/random-linux-utils.md @@ -2,6 +2,7 @@ title: Random linux utilities subtitle: Neat things I picked up along the way author: Never +email: n.gude@posteo.de date: 2025-07-25 summary: Tricks and tools I learned about, while tweaking my Linux sytem or trying to do productive things. --- diff --git a/src/rss.md b/src/rss.md new file mode 100644 index 0000000..3f42adf --- /dev/null +++ b/src/rss.md @@ -0,0 +1,8 @@ +--- +title: nevereverever.de +link: https://nevereverever.de/eh/eh/eh/eh-eh +description: Here I post random stuff. +lang: en-us +editor: n.gude@posteo.de (Never) +webmaster: n.gude@poster.de (Never) +--- diff --git a/src/rssfeed.md b/src/rssfeed.md deleted file mode 100644 index ce6ef13..0000000 --- a/src/rssfeed.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: nevereverever.de RSS Feed -link: https://nevereverever.de/eh/eh/eh/eh-eh -description: RSS of my published articles -lang: en-us -pubdate: Wed, 11 Feb 2026 23:26:41 +0100 -editor: Never -webmaster: Never ---- diff --git a/styles/style.css b/styles/style.css index e6e14cc..a5813cf 100644 --- a/styles/style.css +++ b/styles/style.css @@ -25,10 +25,7 @@ html { color: var(--foreground); - /*background: url("recursion.gif");*/ background: var(--html-background); - background-repeat: repeat-y; - background-size: cover; font-family: serif; font-size: 14pt; } @@ -56,35 +53,26 @@ body { } #page-header { + padding: 4pt; display: flex; - flex-direction: row; - flex-wrap: nowrap; justify-content: space-between; - text-align: left; - border: 4pt ridge var(--border); background: url("images/shark-top-small.png"); background-size: contain; + border: 4pt ridge var(--border); } -#page-header li { - list-style: none; - display: inline-block; +#page-header a { + padding: 4pt; + color: var(--foreground); + background-color: var(--button-background); + border: 2pt outset var(--button-border); + text-decoration: none; } #page-header a:active { border: 2pt inset var(--button-border) } -#page-header a { - color: var(--foreground); - text-decoration: none; - margin: 4pt; - padding: 4pt; - border: 2pt outset var(--button-border); - background-color: var(--button-background) -} - -#page-header ul, #articles ul { padding-left: 0; }