Remove pages and menuitems from side, tweak top menu items
diff --git a/templates/base.html b/templates/base.html
index 57da866..febd541 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -48,12 +48,6 @@
<h2><a href="{{ SITEURL }}" class="nohover">{{ AUTHOR }}</a></h2>
<p>{{ TAGLINE }}</p>
<ul>
- {% for title, link in MENUITEMS %}
- <li><a href="{{ link }}">{{ title }}</a></li>
- {% endfor %}
- {% if DISPLAY_PAGES_ON_MENU %}{% for p in pages %}
- <li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
- {% endfor %}{% endif %}
{% for name, link in LINKS %}
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
{% endfor %}
@@ -70,14 +64,15 @@
<p>
<a href="{{ SITEURL }}">Home</a>
- {% for p in pages %}
+ {% for p in pages|sort %}
{% if p.url != "index.html" %}
| <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
{% endif %}
{% endfor %}
-
- | <a href="{{ SITEURL }}/blog">Blog</a>
- | <a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Article List</a>
+ {% if INDEX_SAVE_AS and INDEX_SAVE_AS != "index.html" %}
+ | <a href="{{ SITEURL }}/{{ INDEX_SAVE_AS }}">Blog</a>
+ {% endif %}
+ | <a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Post List</a>
{% if FEED_ALL_ATOM %}
| <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">Atom Feed</a>
{% endif %}