mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-20 19:29:54 +00:00
Add meta description and keywords
This commit is contained in:
parent
a663455cf6
commit
2385e5bdeb
1 changed files with 2 additions and 0 deletions
|
@ -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]-->
|
||||||
|
|
Loading…
Reference in a new issue