Remove '.liquid' from components
This commit is contained in:
parent
2e7239e7a6
commit
7a3143fbe1
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
@ -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 %}
|
||||
Loading…
Reference in a new issue