From 07c56086aa0c4e015c9044e333ae4001debcb28d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 30 Apr 2024 13:14:09 +0300 Subject: Update content for html --- .../2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html') diff --git a/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html b/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html index 862258a6..478cee72 100644 --- a/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html +++ b/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html @@ -8,7 +8,7 @@ -

Gemtexter 2.0.0 - Let's Gemtext again²


+

Gemtexter 2.0.0 - Let's Gemtext again²



Published at 2023-03-25T17:50:32+02:00

@@ -33,7 +33,7 @@
Let's list what's new!

-

Minimal template engine


+

Minimal template engine



Gemtexter now supports templating, enabling dynamically generated content to .gmi files before converting anything to any output format like HTML and Markdown.

@@ -99,7 +99,7 @@ See more entries about DTail and Golang: Blablabla...
-

Added hooks


+

Added hooks



You can configure PRE_GENERATE_HOOK and POST_PUBLISH_HOOK to point to scripts to be executed before running --generate, or after running --publish. E.g. you could populate some of the content by an external script before letting Gemtexter do its thing or you could automatically deploy the site after running --publish.

@@ -113,11 +113,11 @@ http://www.gnu.org/software/src-highlite --> declare -xr POST_PUBLISH_HOOK=./post_publish_hook.sh
-

Use of safer Bash options


+

Use of safer Bash options



Gemtexter now does set -euf -o pipefile, which helps to eliminate bugs and to catch scripting errors sooner. Previous versions only set -e.

-

Meta cache made obsolete


+

Meta cache made obsolete



Here is the breaking change to older versions of Gemtexter. The $BASE_CONTENT_DIR/meta directory was made obsolete. meta was used to store various information about all the blog post entries to make generating an Atom feed in Bash easier. Especially the publishing dates of each post were stored there. Instead, the publishing date is now encoded in the .gmi file. And if it is missing, Gemtexter will set it to the current date and time at first run.

@@ -147,11 +147,11 @@ http://www.gnu.org/software/src-highlite --> The remaining content of the Gemtext file...
-

XMLLint support


+

XMLLint support



Optionally, when the xmllint binary is installed, Gemtexter will perform a simple XML lint check against the Atom feed generated. This is a double-check of whether the Atom feed is a valid XML.

-

More


+

More



Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made.

-- cgit v1.2.3