remove metadata on non-title pages

This commit is contained in:
Vladimir Agafonkin 2013-11-18 18:25:37 +02:00
parent fb5c2484f0
commit 8a2a0ae6e4

View File

@ -7,6 +7,7 @@
<meta charset="utf-8" />
{% if page.title %}
<meta property="og:title" content="Leaflet — an open-source JavaScript library for interactive maps" />
<meta property="og:description" content="Leaflet is a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps." />
<meta property="og:image" content="http://leafletjs.com/docs/images/logo.png" />
@ -14,6 +15,7 @@
<meta itemprop="name" content="Leaflet">
<meta itemprop="description" content="Leaflet — a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps.">
<meta itemprop="image" content="http://leafletjs.com/docs/images/logo.png">
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">