Permalink
Browse files

Improve the HTML keywords meta

  • Loading branch information...
Dinduks committed Feb 20, 2013
1 parent 1cc2e8a commit 2f2e08ac1d800717f79181e7a839aa371b8d68f0
Showing with 3 additions and 1 deletion.
  1. +3 −1 source/_includes/head.html
@@ -19,7 +19,9 @@
{% endif %}
{% endcapture %}
<meta name="description" content="{{ description }}">
- {% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
+
+ {% capture keywords %}{% if page.keywords %}{{ page.keywords }}{% elsif site.keywords %}{{ site.keywords }}{% endif %}{% endcapture %}
+ <meta name="keywords" content="{{ keywords }}">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">

0 comments on commit 2f2e08a

Please sign in to comment.