From cbbc48091c9a83b4e15ff887b4f1d660dba69dfd Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:12:01 +0800 Subject: page layout --- source/_layouts/page.html | 38 ++++++++++---------------------------- 1 file changed, 10 insertions(+), 28 deletions(-) (limited to 'source/_layouts/page.html') diff --git a/source/_layouts/page.html b/source/_layouts/page.html index 9a02019..886029e 100644 --- a/source/_layouts/page.html +++ b/source/_layouts/page.html @@ -2,34 +2,16 @@ layout: default --- -
- {% if page.title %} -
-

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

- {% if page.date %}

{% include post/date.html %}{{ time }}

{% endif %} -
- {% endif %} - {{ content }} - {% unless page.footer == false %} -
- {% if page.date or page.author %}

- {% if page.author %}{% include post/author.html %}{% endif %} - {% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} - {% if page.categories %}{% include post/categories.html %}{% endif %} -

{% endif %} - {% unless page.sharing == false %} - {% include post/sharing.html %} - {% endunless %} -
- {% endunless %} +
+ {% if page.title %} +

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

+ {% endif %} + {{ content }}
+{% include post/sharing.html %} {% if site.disqus_short_name and page.comments == true %} -
-

Comments

+
+

留言

{% include post/disqus_thread.html %}
-
-{% endif %} -{% unless page.sidebar == false %} -{% include asides.html %} -{% endunless %} -
\ No newline at end of file +
+{% endif %} \ No newline at end of file -- cgit v1.2.3