From 7a3143fbe10fae833d11e531d12ee8090e97ec2e Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sat, 10 Feb 2024 21:01:39 +0100 Subject: [PATCH] Remove '.liquid' from components --- src/_includes/hero.liquid | 2 +- src/_includes/partials/footer.liquid | 2 +- src/pages/index.liquid | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_includes/hero.liquid b/src/_includes/hero.liquid index 02cb51c..efff297 100644 --- a/src/_includes/hero.liquid +++ b/src/_includes/hero.liquid @@ -3,6 +3,6 @@

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

{{subpage.data.description}}

{{ subpage.templateContent }} - {% render 'partials/components/socials.liquid', socials: author.socials, mail: author.mail, showLabel: true %} + {% render 'partials/components/socials', socials: author.socials, mail: author.mail, showLabel: true %} \ No newline at end of file diff --git a/src/_includes/partials/footer.liquid b/src/_includes/partials/footer.liquid index eaf8f9d..c958831 100644 --- a/src/_includes/partials/footer.liquid +++ b/src/_includes/partials/footer.liquid @@ -7,6 +7,6 @@ {% endif %} - {% render 'partials/components/socials.liquid', socials: author.socials, mail: author.mail, showLabel: false %} + {% render 'partials/components/socials', socials: author.socials, mail: author.mail, showLabel: false %} \ No newline at end of file diff --git a/src/pages/index.liquid b/src/pages/index.liquid index 882b4e7..ecdadaf 100644 --- a/src/pages/index.liquid +++ b/src/pages/index.liquid @@ -7,9 +7,9 @@ permalink: / {% for subpage in collections.subpages %} {% if subpage.data.excludeFromList != true %} {% if subpage.data.template == 'hero' %} - {% include 'hero.liquid' %} + {% include 'hero' %} {% else %} - {% include 'page.liquid' %} + {% include 'page' %} {% endif %} {% endif %} {% endfor %} \ No newline at end of file