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> <dl>
{% for article in dates %} {% 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> <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
{% endfor %} {% endfor %}
</dl> </dl>

View File

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