summaryrefslogtreecommitdiffstats
path: root/source/_includes/archive_post.html
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:19:10 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:19:10 +0100
commitcaeed23e766705eecae7ef17a534213c0f87fdd6 (patch)
treee002f70de3b4a3c31d798f36af0b8e0598b185f1 /source/_includes/archive_post.html
parent0a7ff46da7d7352373dc74c2839233e34e232aec (diff)
downloadoctopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.zip
octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.tar.gz
archive, category
Diffstat (limited to 'source/_includes/archive_post.html')
-rw-r--r--source/_includes/archive_post.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/source/_includes/archive_post.html b/source/_includes/archive_post.html
index 5693f95..b30e5d8 100644
--- a/source/_includes/archive_post.html
+++ b/source/_includes/archive_post.html
@@ -1,8 +1,9 @@
{% capture category %}{{ post.categories | size }}{% endcapture %}
-<h1><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
-<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
-{% if category != '0' %}
-<footer>
- <span class="categories">posted in {{ post.categories | category_links }}</span>
-</footer>
-{% endif %} \ No newline at end of file
+<h1 class="title"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
+<div class="meta">
+ <span class="date">{{ post.date | date: "%b %e" }}</span>
+ <span class="tags">{% include post/categories.html %}</span>
+ {% if site.disqus_short_name and post.comments == true %}
+ <span class="comments"><a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">留言</a></span>
+ {% endif %}
+</div> \ No newline at end of file