diff options
Diffstat (limited to 'bgstack15-gallery-theme/templates/links.html')
-rw-r--r-- | bgstack15-gallery-theme/templates/links.html | 10 |
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 %} |