first commits

This commit is contained in:
Rubens Jean Simon
2024-08-13 03:13:45 +00:00
parent 19fb728f04
commit b0c003ba2e
34 changed files with 888 additions and 28 deletions

20
_layouts/page.html Normal file
View File

@ -0,0 +1,20 @@
---
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>