diff options
author | The Dod <unclezzzen@gmail.com> | 2012-11-05 21:23:31 +0700 |
---|---|---|
committer | The Dod <unclezzzen@gmail.com> | 2012-11-05 21:23:31 +0700 |
commit | e10af4f9635a844eec1933020ac324f70c889a0e (patch) | |
tree | 0519c6e36d74e80375b9cfe8eca658ba635f7341 | |
parent | bd942f2d4f6df52e2aa4ff44d4050da0f260d76e (diff) | |
download | pelican-themes-e10af4f9635a844eec1933020ac324f70c889a0e.tar.gz |
No empty "Tags:" for articles
also fixed stupid typo
-rw-r--r-- | waterspill-en/templates/article.html | 4 | ||||
-rw-r--r-- | waterspill-en/templates/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/waterspill-en/templates/article.html b/waterspill-en/templates/article.html index dcef284..a4aa4de 100644 --- a/waterspill-en/templates/article.html +++ b/waterspill-en/templates/article.html @@ -12,9 +12,9 @@ {% include 'twitter.html' %} <h3 class="blogMeta">By <a href="#">{{ article.author }}</a>{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}</h3> - <h3 class="blogMeta">Tags: {% for tag in article.tags %} + {% if article.tags %}<h3 class="blogMeta">Tags: {% for tag in article.tags %} <span><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> / </span> -{% endfor %}</h3> +{% endfor %}</h3>{% endif %} </div><!-- end #blogItem --> {% if DISQUS_SITENAME %} diff --git a/waterspill-en/templates/index.html b/waterspill-en/templates/index.html index fecab05..338155a 100644 --- a/waterspill-en/templates/index.html +++ b/waterspill-en/templates/index.html @@ -32,7 +32,7 @@ {{ article.summary }} <h3 class="blogMeta">By <a href="#">{{ article.author }}</a>{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}</h3> - <a href="{{ SITEURL }}/{{ article.url }}">Cuntinue reading …</a> + <a href="{{ SITEURL }}/{{ article.url }}">Continue reading …</a> |