Files
Chirpy/_layouts/page.html
yann 7374651ad5
Some checks failed
Build and Deploy / build (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
first commit
2026-04-13 19:49:01 +02:00

21 lines
441 B
HTML

---
layout: default
---
{% include lang.html %}
<article class="px-1">
{% if page.layout == 'page' or page.collection == 'tabs' %}
{% assign tab_key = page.title | downcase %}
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
<h1 class="dynamic-title">
{{ title }}
</h1>
<div class="content">
{{ content }}
</div>
{% else %}
{{ content }}
{% endif %}
</article>