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>
|
<h1 class="hero-title">{% if subpage.data.displayedTitle %}{{ subpage.data.displayedTitle }}{% else %}{{ subpage.data.title }}{% endif %}</h1>
|
||||||
<p>{{subpage.data.description}}</p>
|
<p>{{subpage.data.description}}</p>
|
||||||
{{ subpage.templateContent }}
|
{{ 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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -7,6 +7,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
@ -7,9 +7,9 @@ permalink: /
|
||||||
{% for subpage in collections.subpages %}
|
{% for subpage in collections.subpages %}
|
||||||
{% if subpage.data.excludeFromList != true %}
|
{% if subpage.data.excludeFromList != true %}
|
||||||
{% if subpage.data.template == 'hero' %}
|
{% if subpage.data.template == 'hero' %}
|
||||||
{% include 'hero.liquid' %}
|
{% include 'hero' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% include 'page.liquid' %}
|
{% include 'page' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
Loading…
Reference in a new issue