d3c3nt

[DORMANT] a fairly decent theme for the zola static site engine
git clone git://git.figbert.com/d3c3nt.git
Log | Files | Refs | README | LICENSE

commit 32ba41897bb9472ee49429ea6decab696e7f8d1d
parent f776ebd2cd36cae6008fe0689a2f7646699459d3
Author: FIGBERT <figbert@figbert.com>
Date:   Thu, 23 Dec 2021 14:56:20 -0800

Implement d3_author variable in templates

Diffstat:
Mconfig.toml | 1+
Mtemplates/article.html | 2+-
Mtheme.toml | 1+
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.toml b/config.toml @@ -22,3 +22,4 @@ minify_html = true ] d3_icon = "/icon.png" d3_twitter = "@therealFIGBERT" + d3_author = "FIGBERT" diff --git a/templates/article.html b/templates/article.html @@ -4,7 +4,7 @@ <h1><a href="{{ current_url | safe }}">{{ page.title | safe }}</a></h1> <small> <time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time> - by <a href="{{ config.base_url | safe }}">FIGBERT</a> + by <a href="{{ config.base_url | safe }}">{{ config.extra.d3_author | safe }}</a> </small> {{ page.content | safe }} </article> diff --git a/theme.toml b/theme.toml @@ -9,6 +9,7 @@ demo = "https://d3c3nt.figbert.com" d3_nav = [] d3_icon = "" d3_twitter = "" + d3_author = "" [author] name = "FIGBERT"