mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-14 05:15:22 -05:00
24 lines
776 B
HTML
24 lines
776 B
HTML
{% unless page.no_header %}
|
|
<header>
|
|
{% if index %}
|
|
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
|
|
{% else %}
|
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
|
{% endif %}
|
|
{% unless page.meta == false %}
|
|
<p class="meta">{% include post/date.html %}</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 %}
|