Merge pull request #82 from tshepang/custom

notmyidea-cms: some improvements
This commit is contained in:
Justin Mayer
2013-03-30 11:33:37 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<dl>
{% for article in dates %}
<dt>{{ article.date.strftime('%a %d %B %Y') }}</dt>
<dt>{{ article.locale_date }}</dt>
<dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %}
</dl>

View File

@@ -31,11 +31,11 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
<li><a href="{{ SITEURL }}/index.html">Home</a></li>
{% for p in PAGES %}
<li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% endif %}
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
{#{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}#}