mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
Added more customization points in layout for pages, posts, comments, and meta data.
This commit is contained in:
parent
fb34144d80
commit
f414f7ad65
7
.themes/classic/source/_includes/comments.html
Normal file
7
.themes/classic/source/_includes/comments.html
Normal file
@ -0,0 +1,7 @@
|
||||
<section>
|
||||
<h1>Comments</h1>
|
||||
{% include custom/comments.html %}
|
||||
{% if site.disqus_short_name %}
|
||||
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
||||
{% endif %}
|
||||
</section>
|
1
.themes/classic/source/_includes/custom/after_page.html
Normal file
1
.themes/classic/source/_includes/custom/after_page.html
Normal file
@ -0,0 +1 @@
|
||||
{% comment %} Add content at the bottom of every page {% endcomment %}
|
3
.themes/classic/source/_includes/custom/comments.html
Normal file
3
.themes/classic/source/_includes/custom/comments.html
Normal file
@ -0,0 +1,3 @@
|
||||
{% comment %}
|
||||
To use a custom comment system, add the javascript to custom/after_footer.html then add the container for your comments here.
|
||||
{% endcomment %}
|
1
.themes/classic/source/_includes/custom/page_meta.html
Normal file
1
.themes/classic/source/_includes/custom/page_meta.html
Normal file
@ -0,0 +1 @@
|
||||
{% comment %} Add content to the meta section after any page. {% endcomment %}
|
1
.themes/classic/source/_includes/custom/post_meta.html
Normal file
1
.themes/classic/source/_includes/custom/post_meta.html
Normal file
@ -0,0 +1 @@
|
||||
{% comment %} Add content to the meta section after any post. {% endcomment %}
|
5
.themes/classic/source/_includes/post/meta.html
Normal file
5
.themes/classic/source/_includes/post/meta.html
Normal file
@ -0,0 +1,5 @@
|
||||
<p class="meta">
|
||||
{% include post/author.html %}
|
||||
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
||||
{% if page.categories %}{% include post/categories.html %}{% endif %}
|
||||
</p>
|
@ -13,23 +13,15 @@ layout: default
|
||||
{{ 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 %}
|
||||
<p class="meta">{% include post/meta.html %}{% include custom/page-meta.html %}</p>
|
||||
{% 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 %}
|
||||
{% include custom/after_page.html %}
|
||||
{% if page.comments == true %}{% include comments.html %}{% endif %}
|
||||
</div>
|
||||
{% unless page.sidebar == false %}
|
||||
<aside class="sidebar">
|
||||
|
@ -9,9 +9,8 @@ single: true
|
||||
{% include article.html %}
|
||||
<footer>
|
||||
<p class="meta">
|
||||
{% include post/author.html %}
|
||||
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
||||
{% include post/categories.html %}
|
||||
{% include post/meta.html %}
|
||||
{% include custom/post_meta.html %}
|
||||
</p>
|
||||
{% unless page.sharing == false %}
|
||||
{% include post/sharing.html %}
|
||||
@ -26,12 +25,7 @@ single: true
|
||||
</p>
|
||||
</footer>
|
||||
</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 %}
|
||||
{% if page.comments == true %}{% include comments.html %}{% endif %}
|
||||
</div>
|
||||
{% unless page.sidebar == false %}
|
||||
<aside class="sidebar">
|
||||
@ -42,4 +36,3 @@ single: true
|
||||
{% endif %}
|
||||
</aside>
|
||||
{% endunless %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user