mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-11 20:05:06 -05:00
21813059f2
2. Added updated instructions to the README 3. Removed unused media css directories 4. Improved use of color variables for page theming. 5. Improved Typography and blog styling. 6. Added support for simple pre and code styles 7. Misc styling and markup improvements.
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
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 %}
|
|
<p>
|
|
{% if page.date %}
|
|
<time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time>
|
|
{% endif %}
|
|
{% if page.updated %}
|
|
<time class="updated" datetime="{{ page.updated | datetime }}"></time>
|
|
{% endif %}
|
|
{% if author %}<span class="byline author vcard">By <span class="fn">{{ author }}</span></span>{% endif %}
|
|
</p>
|
|
{% endunless %}
|
|
</header>
|
|
{% endunless %}
|
|
{% if index %}
|
|
<div class="entry-content">{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}</div>
|
|
{% else %}
|
|
<div class="entry-content">{{ content | smart_quotes }}</div>
|
|
{% endif %}
|
|
|