Skip to content

Commit

Permalink
Link to privacy policy from footer if present.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Dec 24, 2024
1 parent a7fd553 commit 2832b79
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/gened/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@
<div class="content has-text-centered">
<p><b>{{ config['APPLICATION_TITLE'] }}</b> by {{ config['APPLICATION_AUTHOR'] }}.</p>
{% if config['DOCS_DIR'] %}
<p><a class="has-text-light" href="{{ url_for("docs.main") }}">Documentation</a></p>
<p>
<a class="has-text-light" href="{{ url_for("docs.main") }}">Documentation</a>
{% if 'privacy_policy' in docs_pages %}
&mdash; <a class="has-text-light" href="{{ url_for("docs.page", name="privacy_policy") }}">Privacy Policy</a>
{% endif %}
</p>
{% endif %}
<p><b>{{ config['APPLICATION_TITLE'] }} is open source</b>, part of the Gen-Ed framework: <a class="has-text-light" href="https://github.com/liffiton/GenEd">code on GitHub</a>.</p>
{% if config['SUPPORT_EMAIL'] %}
Expand Down

0 comments on commit 2832b79

Please sign in to comment.