diff options
author | Justin Mayer <entrop@gmail.com> | 2013-03-30 11:33:37 -0700 |
---|---|---|
committer | Justin Mayer <entrop@gmail.com> | 2013-03-30 11:33:37 -0700 |
commit | b9a7dfcf08d9805de773c4a3b19aa16fab4b4efb (patch) | |
tree | e270be6abcffeb1cd5ce6a0705f24b871de7b9be /notmyidea-cms | |
parent | f8c19921c7920857098f2eb285bf18dbdd14d7f6 (diff) | |
parent | e47753e48c5eafcf1bb4c363fb83c61e4771fc71 (diff) | |
download | pelican-themes-b9a7dfcf08d9805de773c4a3b19aa16fab4b4efb.tar.gz |
Merge pull request #82 from tshepang/custom
notmyidea-cms: some improvements
Diffstat (limited to 'notmyidea-cms')
-rw-r--r-- | notmyidea-cms/templates/archives.html | 2 | ||||
-rw-r--r-- | notmyidea-cms/templates/base.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/archives.html b/notmyidea-cms/templates/archives.html index 1644aff..5ba2c81 100644 --- a/notmyidea-cms/templates/archives.html +++ b/notmyidea-cms/templates/archives.html @@ -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> diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html index 3ec41e1..c2535d2 100644 --- a/notmyidea-cms/templates/base.html +++ b/notmyidea-cms/templates/base.html @@ -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 %}#} |