premier brouillon

This commit is contained in:
OniriCorpe 2026-04-15 03:58:05 +02:00
parent 4442a417aa
commit c4b5d14206
20 changed files with 33235 additions and 0 deletions

View file

@ -0,0 +1,4 @@
{% macro get() %} {{ section | default(value=page) }} {%- endmacro doc -%} {%
macro lang() %} {%- if not section and not page -%} {{ lang }} {%- else -%} {%-
set doc = doc::get() -%} {{ page.extra.lang | default(value=lang) }} {%- endif
-%} {%- endmacro trans -%}

View file

@ -0,0 +1,2 @@
{% import "macros/doc.html" as doc %} {% macro trans(s) %} {%- set doc_lang =
doc::lang() -%} {{ config.extra.trans[doc_lang][s] }} {%- endmacro trans -%}