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 f776ebd2cd36cae6008fe0689a2f7646699459d3
parent d553d610584d2875507f645b2d149002c023c646
Author: FIGBERT <figbert@figbert.com>
Date:   Thu, 23 Dec 2021 14:53:14 -0800

Implement d3_twitter variable in templates

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

diff --git a/config.toml b/config.toml @@ -21,3 +21,4 @@ minify_html = true { name = "CONFIG", path = "/config/" }, ] d3_icon = "/icon.png" + d3_twitter = "@therealFIGBERT" diff --git a/templates/index.html b/templates/index.html @@ -14,7 +14,7 @@ <link rel="canonical" href="{{ current_url | safe }}"> {% endif -%} <meta name="twitter:card" content="summary"> - <meta name="twitter:creator" content="@therealFIGBERT"> + <meta name="twitter:creator" content="{{ config.extra.d3_twitter | safe }}"> <link rel="icon" href="/icon.png"> <meta name="theme-color" content="#1F1E1E"> </head> diff --git a/theme.toml b/theme.toml @@ -8,6 +8,7 @@ demo = "https://d3c3nt.figbert.com" [extra] d3_nav = [] d3_icon = "" + d3_twitter = "" [author] name = "FIGBERT"