♻️ refactor(translation): streamline translation logic with macro

This commit is contained in:
welpo 2023-09-01 23:14:05 +02:00
parent 3344f80539
commit 67caafd848
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
18 changed files with 74 additions and 103 deletions

View file

@ -11,6 +11,7 @@
{% import "macros/set_title.html" as macros_set_title %}
{% import "macros/settings.html" as macros_settings %}
{% import "macros/table_of_contents.html" as macros_toc %}
{% import "macros/translate.html" as macros_translate %}
<!DOCTYPE html>
<html lang="{{ lang }}" {% if config.extra.default_theme -%}