diff options
Diffstat (limited to 'notmyidea-cms')
-rw-r--r-- | notmyidea-cms/README.md | 7 | ||||
-rw-r--r-- | notmyidea-cms/templates/archives.html | 2 | ||||
-rw-r--r-- | notmyidea-cms/templates/article.html | 4 | ||||
-rw-r--r-- | notmyidea-cms/templates/base.html | 4 | ||||
-rw-r--r-- | notmyidea-cms/templates/index.html | 2 |
5 files changed, 13 insertions, 6 deletions
diff --git a/notmyidea-cms/README.md b/notmyidea-cms/README.md new file mode 100644 index 0000000..86f7194 --- /dev/null +++ b/notmyidea-cms/README.md @@ -0,0 +1,7 @@ +# notmyidea-cms #
+
+
+
+## Screenshot ##
+
+![screenshot](screenshot.png)
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/article.html b/notmyidea-cms/templates/article.html index 79ad679..1d869c0 100644 --- a/notmyidea-cms/templates/article.html +++ b/notmyidea-cms/templates/article.html @@ -1,10 +1,10 @@ {% extends "base.html" %} -{% block title %}{{ article.title }}{% endblock %} +{% block title %}{{ article.title|striptags }}{% endblock %} {% block content %} <section id="content" class="body"> <article> <header> <h1 class="entry-title"><a href="{{ article.url }}" - rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title + rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> {% include 'twitter.html' %} </header> <div class="entry-content"> {% include 'article_infos.html' %}<!-- /.post-info --> diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html index 3ec41e1..a782e50 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_URL }}">Archives</a></li> {#{% for cat, null in categories %} <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %}#} @@ -68,7 +68,7 @@ <div class="widget social"> <h2>Social</h2> <ul> - <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">atom feed</a></li> + <li><a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">atom feed</a></li> {% if FEED_RSS %} <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss feed</a></li> {% endif %} diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html index 1e4bad3..5e1e676 100644 --- a/notmyidea-cms/templates/index.html +++ b/notmyidea-cms/templates/index.html @@ -19,7 +19,7 @@ {% else %} <li><article class="hentry"> <header> - <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></h1> + <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> </header> <div class="entry-content"> |