Last active
December 13, 2015 21:48
-
-
Save alalwww/4979575 to your computer and use it in GitHub Desktop.
indexページに表示されないよう、sharing.html の読み込み位置を7行目に変更した。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% unless page.no_header %} | |
<header> | |
{% if index %} | |
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1> | |
{% else %} | |
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1> | |
{% include post/sharing.html %} | |
{% endif %} | |
{% unless page.meta == false %} | |
<p class="meta"> | |
{% include post/date.html %}{{ time }} | |
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %} | |
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">Comments</a> | |
{% endif %} | |
</p> | |
{% endunless %} | |
</header> | |
{% endunless %} | |
{% if index %} | |
<div class="entry-content">{{ content | excerpt }}</div> | |
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %} | |
{% if excerpted == 'true' %} | |
<footer> | |
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a> | |
</footer> | |
{% endif %} | |
{% else %} | |
<div class="entry-content">{{ content }}</div> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment