aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/components/links.html
diff options
context:
space:
mode:
Diffstat (limited to 'crumbs/templates/components/links.html')
-rw-r--r--crumbs/templates/components/links.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/crumbs/templates/components/links.html b/crumbs/templates/components/links.html
new file mode 100644
index 0000000..d081bef
--- /dev/null
+++ b/crumbs/templates/components/links.html
@@ -0,0 +1,9 @@
+{# GENERATE LINK SECTION #}
+
+{% for title, link in MENUITEMS %}
+ {% if 'http://' in link or 'https://' in link %}
+ <a class="nav-item" href="{{ link }}">{{ title }} </a>
+ {% else %}
+ <a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a>
+ {% endif %}
+{% endfor %}