mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
added a theme
This commit is contained in:
@ -2,41 +2,18 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div>
|
||||
<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 %}
|
||||
<div class="entry-content">{{ content }}</div>
|
||||
</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 %}
|
||||
</div>
|
||||
{% unless page.sidebar == false %}
|
||||
<aside class="sidebar">
|
||||
{% if site.page_asides.size %}
|
||||
{% include_array page_asides %}
|
||||
{% else %}
|
||||
{% include_array default_asides %}
|
||||
{% endif %}
|
||||
</aside>
|
||||
{% unless page.sharing == false %}
|
||||
{% include post/sharing.html %}
|
||||
{% endunless %}
|
||||
{% if site.disqus_short_name and page.comments == true %}
|
||||
<section id="comment">
|
||||
<h1 class="title">Comments</h1>
|
||||
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user