changes
This commit is contained in:
parent
dddf6082c7
commit
3ca1685ec6
22 changed files with 108 additions and 77 deletions
15
Makefile
15
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 $@
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Latex Endeavors</h1>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Random linux utilities</h1>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Using rsync on Android to syncronise my Music
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Home</h1>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>nevereverever.de RSS Feed</title>
|
||||
<title>nevereverever.de</title>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh</link>
|
||||
<description>RSS of my published articles</description>
|
||||
<description>Here I post random stuff.</description>
|
||||
<language>en-us</language>
|
||||
<pubDate>Wed, 11 Feb 2026 23:26:41 +0100</pubDate>
|
||||
<lastBuildDate>Thu, 12 Feb 2026 02:32:53 +0100</lastBuildDate>
|
||||
<pubDate>Mon, 12 Jan 2026 00:00:00 +0100</pubDate>
|
||||
<lastBuildDate>Thu, 12 Feb 2026 04:03:34 +0100</lastBuildDate>
|
||||
<docs>https://www.rssboard.org/rss-specification</docs>
|
||||
<generator>pandoc</generator>
|
||||
<managingEditor>Never</managingEditor>
|
||||
<webMaster>Never</webMaster>
|
||||
<atom:link href="https://www.rssboard.org/files/sample-rss-2.xml" rel="self" type="application/rss+xml"/>
|
||||
<managingEditor>n.gude@posteo.de (Never)</managingEditor>
|
||||
<webMaster>n.gude@poster.de (Never)</webMaster>
|
||||
<item>
|
||||
<title>Using rsync on Android to syncronise my Music library</title>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
|
|
@ -34,7 +33,7 @@ solutions I have encountered.</description>
|
|||
</item>
|
||||
<item>
|
||||
<title>Random linux utilities</title>
|
||||
<author> (Never)</author>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html</link>
|
||||
<description>Tricks and tools I learned about, while tweaking my Linux
|
||||
sytem or trying to do productive things.</description>
|
||||
|
|
@ -37,7 +37,8 @@ $endif$
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
|
|
@ -27,13 +27,14 @@ $endif$
|
|||
$if(webmaster)$
|
||||
<webMaster>$webmaster$</webMaster>
|
||||
$endif$
|
||||
<atom:link href="https://www.rssboard.org/files/sample-rss-2.xml" rel="self" type="application/rss+xml"/>
|
||||
$for(articles)$
|
||||
<item>
|
||||
$if(articles.title)$
|
||||
<title>$articles.title$</title>
|
||||
$endif$
|
||||
<author>$if(articles.email)$$articles.email$$endif$$if(articles.author)$ ($articles.author$)$endif$</author>
|
||||
$if(articles.email)$
|
||||
<author>$articles.email$$if(articles.author)$ ($articles.author$)$endif$</author>
|
||||
$endif$
|
||||
$if(articles.filename)$
|
||||
<link>$link$/$articles.filename$.html</link>
|
||||
$endif$
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Home</h1>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Latex Endeavors</h1>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Random linux utilities</h1>
|
||||
|
|
|
|||
44
public_html/eh/eh/eh/eh-eh/rss.xml
Normal file
44
public_html/eh/eh/eh/eh-eh/rss.xml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>nevereverever.de</title>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh</link>
|
||||
<description>Here I post random stuff.</description>
|
||||
<language>en-us</language>
|
||||
<pubDate>Mon, 12 Jan 2026 00:00:00 +0100</pubDate>
|
||||
<lastBuildDate>Thu, 12 Feb 2026 04:03:34 +0100</lastBuildDate>
|
||||
<docs>https://www.rssboard.org/rss-specification</docs>
|
||||
<generator>pandoc</generator>
|
||||
<managingEditor>n.gude@posteo.de (Never)</managingEditor>
|
||||
<webMaster>n.gude@poster.de (Never)</webMaster>
|
||||
<item>
|
||||
<title>Using rsync on Android to syncronise my Music library</title>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh/rsync-android.html</link>
|
||||
<description>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.</description>
|
||||
<pubDate>Mon, 12 Jan 2026 00:00:00 +0100</pubDate>
|
||||
<guid>rsync-android</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>Latex Endeavors</title>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh/latex-endeavors.html</link>
|
||||
<description>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.</description>
|
||||
<pubDate>Fri, 09 Jan 2026 00:00:00 +0100</pubDate>
|
||||
<guid>latex-endeavors</guid>
|
||||
</item>
|
||||
<item>
|
||||
<title>Random linux utilities</title>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html</link>
|
||||
<description>Tricks and tools I learned about, while tweaking my Linux
|
||||
sytem or trying to do productive things.</description>
|
||||
<pubDate>Fri, 25 Jul 2025 00:00:00 +0200</pubDate>
|
||||
<guid>random-linux-utils</guid>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
@ -5,13 +5,12 @@
|
|||
<link>https://nevereverever.de/eh/eh/eh/eh-eh</link>
|
||||
<description>RSS of my published articles</description>
|
||||
<language>en-us</language>
|
||||
<pubDate>Wed, 11 Feb 2026 23:26:41 +0100</pubDate>
|
||||
<lastBuildDate>Thu, 12 Feb 2026 02:32:53 +0100</lastBuildDate>
|
||||
<pubDate>Mon, 12 Jan 2026 00:00:00 +0100</pubDate>
|
||||
<lastBuildDate>Thu, 12 Feb 2026 02:45:55 +0100</lastBuildDate>
|
||||
<docs>https://www.rssboard.org/rss-specification</docs>
|
||||
<generator>pandoc</generator>
|
||||
<managingEditor>Never</managingEditor>
|
||||
<webMaster>Never</webMaster>
|
||||
<atom:link href="https://www.rssboard.org/files/sample-rss-2.xml" rel="self" type="application/rss+xml"/>
|
||||
<item>
|
||||
<title>Using rsync on Android to syncronise my Music library</title>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
|
|
@ -34,7 +33,7 @@ solutions I have encountered.</description>
|
|||
</item>
|
||||
<item>
|
||||
<title>Random linux utilities</title>
|
||||
<author> (Never)</author>
|
||||
<author>n.gude@posteo.de (Never)</author>
|
||||
<link>https://nevereverever.de/eh/eh/eh/eh-eh/random-linux-utils.html</link>
|
||||
<description>Tricks and tools I learned about, while tweaking my Linux
|
||||
sytem or trying to do productive things.</description>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,8 @@
|
|||
<body>
|
||||
<canvas id="tv-screen"></canvas>
|
||||
<header id="page-header">
|
||||
<ul><li><a href="index.html">Home</a></li></ul>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="rss.xml">RSS Feed</a>
|
||||
</header>
|
||||
<header id="title-block-header">
|
||||
<h1 class="title">Using rsync on Android to syncronise my Music
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
---
|
||||
|
|
|
|||
8
src/rss.md
Normal file
8
src/rss.md
Normal file
|
|
@ -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)
|
||||
---
|
||||
|
|
@ -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
|
||||
---
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue