summaryrefslogtreecommitdiffstats
path: root/source/_layouts
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:12:01 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:12:01 +0100
commitcbbc48091c9a83b4e15ff887b4f1d660dba69dfd (patch)
tree66f8307a34010c07df53cb230c5b00f4d99d262a /source/_layouts
parenteda1a986cba76d57ebcbc6a0dca2463d780f118f (diff)
downloadoctopress-theme-jeyzu-cbbc48091c9a83b4e15ff887b4f1d660dba69dfd.zip
octopress-theme-jeyzu-cbbc48091c9a83b4e15ff887b4f1d660dba69dfd.tar.gz
page layout
Diffstat (limited to 'source/_layouts')
-rw-r--r--source/_layouts/page.html38
1 files changed, 10 insertions, 28 deletions
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
---
-<article role="article">
- {% if page.title %}
- <header>
- <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
- {% if page.date %}<p class="meta">{% include post/date.html %}{{ time }}</p>{% endif %}
- </header>
- {% endif %}
- {{ content }}
- {% unless page.footer == false %}
- <footer>
- {% if page.date or page.author %}<p class="meta">
- {% 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 %}
- </p>{% endif %}
- {% unless page.sharing == false %}
- {% include post/sharing.html %}
- {% endunless %}
- </footer>
- {% endunless %}
+<article class="page">
+ {% if page.title %}
+ <h1 class="title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
+ {% endif %}
+ {{ content }}
</article>
+{% include post/sharing.html %}
{% if site.disqus_short_name and page.comments == true %}
- <section>
- <h1>Comments</h1>
+<section id="comment">
+ <h1 class="title">留言</h1>
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
- </section>
-{% endif %}
-{% unless page.sidebar == false %}
-{% include asides.html %}
-{% endunless %}
-<div class="clear"></div> \ No newline at end of file
+</section>
+{% endif %} \ No newline at end of file