add the ability to specify the content license in the footer

e.g. for marking all pages as CC BY-SA 4.0

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
2026-02-24 09:58:30 -06:00
parent d22c3f84ac
commit bcb2b1be7e
2 changed files with 17 additions and 1 deletions

View File

@@ -44,7 +44,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
</div>
<footer>
{% if extra_footer %}<div class="extra-footer"><i>{{ extra_footer|safe }}</i></div>{% endif %}
<div class="footer"><i>Last modified: {{ mtime }}</i></div>
<div class="footer">
<i>Last modified: {{ mtime }}.<br />
{% if config.LICENSE %} Available via {{ config.LICENSE|safe }}{% endif %}.
</i>
</div>
</footer>
{% endblock %}
</div>