Remove '.liquid' from components

This commit is contained in:
TheThomaas 2024-02-10 21:01:39 +01:00
parent 2e7239e7a6
commit 7a3143fbe1
3 changed files with 4 additions and 4 deletions

View file

@ -3,6 +3,6 @@
<h1 class="hero-title">{% if subpage.data.displayedTitle %}{{ subpage.data.displayedTitle }}{% else %}{{ subpage.data.title }}{% endif %}</h1>
<p>{{subpage.data.description}}</p>
{{ 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 %}
</div>
</section>

View file

@ -7,6 +7,6 @@
{% endif %}
</ul>
{% 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 %}
</div>
</footer>

View file

@ -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 %}