From 2d0d5648dfabe4f178736ba512efc5b7e3b3cd94 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:54:06 +0800 Subject: layout --- source/_includes/article.html | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) (limited to 'source/_includes/article.html') diff --git a/source/_includes/article.html b/source/_includes/article.html index 941dd86..d9c5139 100644 --- a/source/_includes/article.html +++ b/source/_includes/article.html @@ -1,34 +1,21 @@ -{% unless page.no_header %} -
- {% if index %} -
{{ post.date | date: "%e" }}{{ post.date | date: "%b" }}
-

{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}

- {% else %} -
{{ post.date | date: "%e" }}{{ post.date | date: "%b" }}
-

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

- {% endif %} -
-
-{% endunless %} {% if index %} +

{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}

{{ content | excerpt }} {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} - + {% if excerpted == 'true' %}閱讀全文{% endif %} +
+
+
{% include post/date.html %}{{ time }}
+
{% include post/categories.html %}
+
{% else %} -
- {{ content }} -
- - 留言 -
- {% include post/categories.html %} -
+

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

+
{{ content }}
+
+
{% include post/date.html %}{{ time }}
+
{% include post/categories.html %}
+
{% endif %} \ No newline at end of file -- cgit v1.2.3