From 507bb7448a47b60c5e9ea4c06b18c8a580d93c15 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sat, 10 Feb 2024 21:04:26 +0100 Subject: [PATCH] Remove image parameter, add displayedTitle option --- src/_includes/page.liquid | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/_includes/page.liquid b/src/_includes/page.liquid index 9aee469..a658fac 100644 --- a/src/_includes/page.liquid +++ b/src/_includes/page.liquid @@ -1,9 +1,6 @@
- {% if subpage.data.img %} - {{subpage.data.img.alt}} - {% endif %} {% if subpage.data.showTitle != false %} -

{{ subpage.data.title }}

+

{% if subpage.data.displayedTitle %}{{ subpage.data.displayedTitle }}{% else %}{{ subpage.data.title }}{% endif %}

{% endif %} {{ subpage.templateContent }}
\ No newline at end of file