feat: improve template processing (#112)

* Improve template processing

* docs update, config validation rules update
This commit is contained in:
2023-09-08 23:38:07 +03:00
committed by GitHub
parent b540ced77f
commit bef8d33570
28 changed files with 413 additions and 59 deletions

View File

@ -54,14 +54,17 @@ use_utf = yes
[email]
no_empty_report = yes
template_path = /usr/share/ahriman/templates/email-index.jinja2
template = email-index.jinja2
templates = /usr/share/ahriman/templates
ssl = disabled
[html]
template_path = /usr/share/ahriman/templates/repo-index.jinja2
template = repo-index.jinja2
templates = /usr/share/ahriman/templates
[telegram]
template_path = /usr/share/ahriman/templates/telegram-index.jinja2
template = telegram-index.jinja2
templates = /usr/share/ahriman/templates
[upload]
target =

View File

@ -8,6 +8,7 @@
<link rel="shortcut icon" href="/static/favicon.ico">
{% include "utils/style.jinja2" %}
{% include "user-style.jinja2" ignore missing %}
</head>
<body>

View File

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include "utils/style.jinja2" %}
{% include "user-style.jinja2" ignore missing %}
</head>
<body>

View File

@ -8,6 +8,7 @@
<link rel="shortcut icon" href="/static/favicon.ico">
{% include "utils/style.jinja2" %}
{% include "user-style.jinja2" ignore missing %}
</head>
<body>

View File

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include "utils/style.jinja2" %}
{% include "user-style.jinja2" ignore missing %}
</head>
<body>