1
0
Fork 0
forked from wezm/wezm.net

Add meta description and keywords

This commit is contained in:
Wesley Moore 2010-07-23 13:21:18 +10:00
parent a663455cf6
commit 2385e5bdeb

View file

@ -1,6 +1,8 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title><%=h [@item[:title], 'WezM.net'].compact.join(' - ') %></title> <title><%=h [@item[:title], 'WezM.net'].compact.join(' - ') %></title>
<% if @item[:extra] %><meta name="description" content="<%=h @item[:extra] %>"><% end %>
<% if @item[:keywords] %><meta name="keywords" content="<%=h @item[:keywords].join(',') %>"><% end %>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="/js/html5.js"></script> <script src="/js/html5.js"></script>
<![endif]--> <![endif]-->