2018-01-27 00:30:24 -08:00

35 lines
1.1 KiB
HTML

<header>
{% if index %}
<h1 class="beta">
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
</h1>
{% else %}
<h1 class="title indent">{{ page.title }}</h1>
{% endif %}
{% unless post.meta == false %}
<div class="meta clearfix">
{% include blog/post/date.html %}{{ time }}
{% include post/author.html %}
{% include post/time_to_read.html %}
{% include blog/post/tags.html %}
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
<a class='comments'
href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#post-comments"
>Comments</a>
{% endif %}
</div>
{% endunless %}
</header>
{% if index %}
<div class="entry-content clearfix">
{{ post.excerpt }}
{% if post.content contains site.excerpt_separator %}
<a class="btn pull-right" href="{{ post.url }}#read-more">{{ site.excerpt_link }}</a>
{% endif %}
</div>
{% else %}
{{ post.content | replace: site.excerpt_separator, '<a name="read-more"></a>' }}
{% endif %}