mirror of
https://gitlab.com/veilid/veilid-dot-com.git
synced 2025-02-11 12:58:30 -05:00
![Alice Rhodes](/assets/img/avatar_default.png)
- Reviewed the cecil documentation for configs - Moved the language picker to the right spot in the template - Turned it off Ok so if you only have two pages in German the menu for when in German is only those to pages. I need figure out it can fall back to English.
22 lines
688 B
Twig
22 lines
688 B
Twig
{# all "showable pages by default #}
|
|
{% set pages = site.pages.showable %}
|
|
{# in case of a list page, take its sub pages #}
|
|
{% if page.pages is defined %}
|
|
{%- set pages = page.pages -%}
|
|
{% endif %}
|
|
{# in case of a paginated list page, take the paginator list pages #}
|
|
{% if page.paginator.pages is defined %}
|
|
{%- set pages = page.paginator.pages -%}
|
|
{% endif %}
|
|
|
|
{% extends '_default/page.html.twig' %}
|
|
|
|
{%- block content ~%}
|
|
{%- block content_header %}
|
|
<div class="take-back-control">
|
|
<h2 id="page-title">{{ page.title }}</h2>
|
|
</div>
|
|
{% endblock content_header ~%}
|
|
{{- page.content ~}}
|
|
{%- endblock content ~%}
|