aboutsummaryrefslogtreecommitdiff
path: root/bgstack15-gallery-theme/templates/links.html
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-02-01 09:07:23 -0500
committerB Stack <bgstack15@gmail.com>2021-02-01 09:07:23 -0500
commita4481dc007ff202882b783ed4b36e03a8b4c1d05 (patch)
tree0f8b5ccb6ea5e966e8d517b07936479ef49b3516 /bgstack15-gallery-theme/templates/links.html
downloadgallery-a4481dc007ff202882b783ed4b36e03a8b4c1d05.tar.gz
gallery-a4481dc007ff202882b783ed4b36e03a8b4c1d05.tar.bz2
gallery-a4481dc007ff202882b783ed4b36e03a8b4c1d05.zip
initial commit
Diffstat (limited to 'bgstack15-gallery-theme/templates/links.html')
-rw-r--r--bgstack15-gallery-theme/templates/links.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/bgstack15-gallery-theme/templates/links.html b/bgstack15-gallery-theme/templates/links.html
new file mode 100644
index 0000000..791d0e9
--- /dev/null
+++ b/bgstack15-gallery-theme/templates/links.html
@@ -0,0 +1,10 @@
+{% if settings.links or settings.edit_enabled %}
+<nav id="menu">
+ <ul>
+ {% if settings.links %}{% for title, link in settings.links %}
+ <li><a href="{{ link }}">{{ title }}</a></li>
+ {% endfor %}{% endif %}
+ <li><a href="{{ settings.toggle_link }}?id={{ settings.gallery_id }}">{% for value, text in settings.toggle_editing %}{% if settings.edit_enabled == value %}{{ text }}{% endif %}{% endfor %}</a>
+ </ul>
+</nav>
+{% endif %}
bgstack15