mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-02 00:05:06 -04:00
f77db80077
2. Improved Blockquote comment header 3. Added Include File and Pullquote plugins 4. Improved blog typography 5. Simplified "Read more" link
29 lines
890 B
HTML
29 lines
890 B
HTML
{% if page.author %}
|
|
{% assign author = page.author %}
|
|
{% else %}
|
|
{% assign author = site.author %}
|
|
{% endif %}
|
|
{% unless page.no_header %}
|
|
<header>
|
|
{% if index %}
|
|
<h1 class="entry-title"><a href="{{ page.url }}">{{ page.title | titlecase }}</a></h1>
|
|
{% else %}
|
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
|
{% endif %}
|
|
{% unless page.no_meta or !index %}<p class="meta">{% include post_meta.html %}</p>{% endunless %}
|
|
</header>
|
|
{% endunless %}
|
|
{% if index %}
|
|
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
|
<footer>
|
|
<p>
|
|
{% if content contains "<!-- more -->" or content contains "<!--more-->" %}
|
|
<a rel="full-article" href="{{ page.url }}">Read more …</a>
|
|
{% endif %}
|
|
{% include post_meta.html %}
|
|
</p>
|
|
</footer>
|
|
{% else %}
|
|
<div class="entry-content">{{ content | smart_quotes }}</div>
|
|
{% endif %}
|