Commit 0468a24f authored by colmoneill's avatar colmoneill

went to a manual menu because needed some finer orderning control + hide display of pages etc

parent 61b2cb1f
Pipeline #38249591 passed with stages
in 1 minute and 5 seconds
......@@ -25,6 +25,12 @@ AUTHOR_FEED_RSS = None
THEME_STATIC_DIR = 'theme/flex'
THEME = 'theme/flex/'
MENUITEMS = (('About Shonagh', '/pages/about-shonagh.html'),
('Testamonies', '/pages/testamonies.html'),
('Posts', '/category/posts.html'),
('Pricings', '/pages/pricings.html'),
('Contact', '/pages/contact.html'),)
# Blogroll
LINKS = (("", ''),
('', ''),
......@@ -49,6 +55,7 @@ SOCIAL = (('facebook', 'https://www.facebook.com/shonaghomalleyadvisor/'),
DEFAULT_PAGINATION = 5
DISPLAY_PAGES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False
# Uncomment following line if you want document-relative URLs when developing
......
......@@ -124,6 +124,7 @@
{% if pages or LINKS %}
<nav>
<ul class="list">
{#
{% if not PAGES_SORT_ATTRIBUTE -%}
{% set PAGES_SORT_ATTRIBUTE = 'title' %}
{%- endif %}
......@@ -140,6 +141,10 @@
<li><a {% if cat == category %} class="active"{% endif %} href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
{% endif %}
#}
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
</ul>
</nav>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment