]> git.bitcoin.ninja Git - blog/commitdiff
change header to fix home highlighting
authorMark Otto <otto@github.com>
Tue, 21 Jan 2014 04:18:05 +0000 (22:18 -0600)
committerMark Otto <otto@github.com>
Sun, 19 Jan 2014 11:00:00 +0000 (13:00 +0200)
_includes/head.html

index 1f577f0dfad0779c1460274944b32b6acd3d6e5d..50f9a20880b2a973cc5d9506fa7ab70ea18f9e12 100644 (file)
@@ -6,10 +6,10 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
 
   <title>
-    {% if page.title %}
-      {{ page.title }} &middot; {{ site.title }}
-    {% else %}
+    {% if page.title == "Home" %}
       {{ site.title }} &middot; {{ site.tagline }}
+    {% else %}
+      {{ page.title }} &middot; {{ site.title }}
     {% endif %}
   </title>