feat: Add option for a noindex meta tag on the HTML index page

Adds a new config option `index_page_allow_indexing` which defaults to false.

Fixes: !1527
This commit is contained in:
theS1LV3R committed 2026-03-11 16:51:49 +01:00
1 parent 75f6edb65a
commit 2f71860db5
6 files changed
+28 -1

No files matched your search

+3
View File
@@ -5,6 +5,9 @@
<meta charset="UTF-8" />
<title>{% block title %}Continuwuity{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{%- if allow_indexing %}
<meta name="robots" content="noindex" />
{%- endif %}
<link rel="icon" href="/_continuwuity/resources/logo.svg">
<link rel="stylesheet" href="/_continuwuity/resources/common.css">