mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-10 21:30:53 +00:00
1. Made default layout more generic.
2. Added a page layout and improved html on post layout. 3. Improved flexibility of stylesheets for different layout types. 4. Collapsing sidebar now moves it to the bottom of the page and floats content into columns. 5. Improved sharing settings, added Google plus one.
This commit is contained in:
@ -1,5 +1,31 @@
|
||||
---
|
||||
layout: post
|
||||
layout: default
|
||||
---
|
||||
|
||||
<!-- if you want a page layout -->
|
||||
<div>
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||
{% unless page.no_meta or !index %}<p class="meta">{% include post_date.html %}</p>{% endunless %}
|
||||
</header>
|
||||
{{ content | smart_quotes }}
|
||||
{% unless page.no_footer %}
|
||||
<footer>
|
||||
{% if page.date %}
|
||||
<p class="meta">
|
||||
{% include post_date.html %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% unless page.no_sharing %}
|
||||
{% include sharing.html %}
|
||||
{% endunless %}
|
||||
</footer>
|
||||
{% endunless %}
|
||||
</article>
|
||||
{% if site.disqus_short_name and page.comments == true %}
|
||||
<section>
|
||||
<h1>Comments</h1>
|
||||
<div id="disqus_thread">{% include disqus_thread.html %}</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user