diff options
Diffstat (limited to 'source/_layouts/page.html')
-rw-r--r-- | source/_layouts/page.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source/_layouts/page.html b/source/_layouts/page.html new file mode 100644 index 0000000..9a02019 --- /dev/null +++ b/source/_layouts/page.html @@ -0,0 +1,35 @@ +--- +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> +{% if site.disqus_short_name and page.comments == true %} + <section> + <h1>Comments</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 |