Add hyperlinks to post and gallery titles, make page title optional.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
|
||||||
<title>{% if page.title != "Home" %}{{ page.title }} – {% endif %}{{ site.title }}</title>
|
<title>{% if page.title != "Home" and page.title %}{{ page.title }} – {% endif %}{{ site.title }}</title>
|
||||||
|
|
||||||
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css" />
|
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css" />
|
||||||
<link href="{{ site.static_prefix }}/style/default-common.css" rel="stylesheet" type="text/css" />
|
<link href="{{ site.static_prefix }}/style/default-common.css" rel="stylesheet" type="text/css" />
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<h1>
|
<h1>
|
||||||
<span itemprop="name">{{ page.title }}</span>
|
<a href="/{{ site.baseurl }}{{ page.url }}"><span itemprop="name">{{ page.title }}</span></a>
|
||||||
<small class="print-only" itemprop="datePublished" content="{{ page.date|date:'%F') }}">{{ page.date|date:'%A, %B %d, %Y' }}</small>
|
<small class="print-only" itemprop="datePublished" content="{{ page.date|date:'%F') }}">{{ page.date|date:'%A, %B %d, %Y' }}</small>
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.end_date %}
|
{% if page.end_date %}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<h1>
|
<h1>
|
||||||
<span itemprop="name">{{ page.title }}</span>
|
<a href="/{{ site.baseurl }}{{ page.url }}"><span itemprop="name">{{ page.title }}</span></a>
|
||||||
<small class="print-only" itemprop="datePublished" content="{{ page.date|date:'%F') }}">{{ page.date|date:'%A, %B %d, %Y' }}</small>
|
<small class="print-only" itemprop="datePublished" content="{{ page.date|date:'%F') }}">{{ page.date|date:'%A, %B %d, %Y' }}</small>
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.end_date %}
|
{% if page.end_date %}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ layout: default
|
|||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
{% for post in paginator.posts %}
|
{% for post in paginator.posts %}
|
||||||
{% include post-detail.html %}
|
{% include post.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<section>
|
<section>
|
||||||
|
|||||||
Reference in New Issue
Block a user