Skip to content

Commit d206126

Browse files
Merge pull request #23 from matsieftw/fix-title-tag
Closes #19. Update head to include title tag.
2 parents 59cd0e4 + 634f18f commit d206126

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_includes/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<meta charset="utf-8">
2-
2+
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
33
{% if page.tags %}
44
<meta name="keywords" content="{{ page.tags | join: ', ' }}">
55
{% endif %}
@@ -59,4 +59,4 @@
5959
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
6060
<!-- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/images/favicons/apple-touch-icon-114x114-precomposed.png"> -->
6161
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
62-
<!-- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/favicons/apple-touch-icon-144x144-precomposed.png"> -->
62+
<!-- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/favicons/apple-touch-icon-144x144-precomposed.png"> -->

_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2>MENU</h2>
2222
<ul> {% for link in site.links %}
2323
<li>{% if link.external %}
2424
<a href="{{ link.url }}">{{ link.title }}</a> {% else %}
25-
<a href="{{ site.url }}{{ link.url }}">{{ link.title }}</a> {% endif %} </li>
25+
<a href="{{ link.url }}">{{ link.title }}</a> {% endif %} </li>
2626
{% endfor %}
2727
</ul>
2828
</nav>
@@ -96,4 +96,4 @@ <h1 class="blog-title light" itemprop="name">
9696
</div>
9797
{% endif %}
9898
{% endif %}
99-
</header>
99+
</header>

0 commit comments

Comments
 (0)