summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-02 09:07:32 -0500
committerChristian Cleberg <[email protected]>2026-08-02 09:07:32 -0500
commitb190f0b66114899440c484c3a080b1146f66a386 (patch)
tree4debd6aa6d37f11aa2638cf801f54b98aca029f7 /templates/page.html
parentc03e38b07ce439f9e6f4d23cb470193393e840e2 (diff)
downloadkrz.sh-b190f0b66114899440c484c3a080b1146f66a386.tar.gz
krz.sh-b190f0b66114899440c484c3a080b1146f66a386.tar.bz2
krz.sh-b190f0b66114899440c484c3a080b1146f66a386.zip
update apps and add privacy policies
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html
index 32b1607..0682a66 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -9,8 +9,14 @@
<h1 class="page-label">{{ page.title }}</h1>
{% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
{{ page.content | safe }}
- {% if page.extra.link %}
- <p><a class="btn btn-primary" href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a></p>
+ {% if page.extra.appstore or page.extra.link %}
+ <p class="app-actions">
+ {% if page.extra.appstore %}<a class="btn btn-primary" href="{{ page.extra.appstore }}">app store &rarr;</a>{% endif %}
+ {% if page.extra.link %}<a class="btn" href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %}
+ </p>
+ {% endif %}
+ {% if page.extra.privacy %}
+ <p class="privacy-link"><a href="{{ get_url(path=page.extra.privacy) | safe }}">privacy policy &rarr;</a></p>
{% endif %}
</article>
{% endblock content %}