From f8d26c5907b823cb5658cfcdd1a889000fda87e9 Mon Sep 17 00:00:00 2001 From: Speyll Date: Tue, 3 Oct 2023 16:56:08 +0100 Subject: [PATCH] added optional author blogpost display --- config.toml | 1 + templates/blog-page.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/config.toml b/config.toml index 8771c97..b7cb20b 100644 --- a/config.toml +++ b/config.toml @@ -45,6 +45,7 @@ internal_level = "warn" [extra] author = "Speyll" +display_author = true favicon = "favicon.ico" image = "" list_pages = false diff --git a/templates/blog-page.html b/templates/blog-page.html index e888520..5bb8d11 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -3,7 +3,9 @@ {% block content %}
../
+{% if config.extra.author and config.extra.display_author == true %} +{% endif %}

{{ page.title }}

{% if page.toc and page.extra.toc %}