diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/_layouts/page.html | 38 |
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 |