mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-17 23:05:11 -05:00
43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
{% 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>
|
|
{% 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" data-disqus-identifier="{{ post.url }}">Comments</a>
|
|
{% endif %}
|
|
</p>
|
|
{% endunless %}
|
|
</header>
|
|
{% endunless %}
|
|
|
|
{% if site.google_bannerad_slot %}
|
|
<script type="text/javascript"><!--
|
|
google_ad_client = "{{site.google_ad_client}}";
|
|
google_ad_slot = "{{site.google_bannerad_slot}}";
|
|
google_ad_width = {{site.google_bannerad_width}};
|
|
google_ad_height = {{site.google_bannerad_height}};
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript"
|
|
src="//pagead2.googlesyndication.com/pagead/show_ads.js">
|
|
</script>
|
|
{% endif %}
|
|
|
|
{% 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 %}
|