OLD | NEW |
(Empty) | |
| 1 {# |
| 2 # This file is part of the website-defaults, |
| 3 # Copyright (C) 2017 eyeo GmbH |
| 4 # |
| 5 # website-defaults is free software: you can redistribute it and/or modify |
| 6 # it under the terms of the GNU General Public License version 3 as |
| 7 # published by the Free Software Foundation. |
| 8 # |
| 9 # website-defaults is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. |
| 13 # |
| 14 # You should have received a copy of the GNU General Public License |
| 15 # along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
| 16 # |
| 17 # --- |
| 18 # |
| 19 # # Essential meta data for all websites |
| 20 # |
| 21 # ## title |
| 22 # |
| 23 # Optimal format |
| 24 # : Primary Keyword - Secondary Keyword | Brand Name |
| 25 # |
| 26 # Optimal length |
| 27 # : 50-60 characters (600px wide on desktop) |
| 28 # |
| 29 # Fallback |
| 30 # : First highest level heading |
| 31 # |
| 32 # Nuance |
| 33 # : Titles are user facing, therefore it's important that they are readable. |
| 34 # But they must also be very compact. Full scentences, punctuation, and |
| 35 # uncommon words are discouraged unless they are specifically targeted. |
| 36 # |
| 37 # ## description |
| 38 # |
| 39 # Optimal format |
| 40 # : Scentence |
| 41 # |
| 42 # Optimal length |
| 43 # : Less than 160 characters |
| 44 # |
| 45 # Fallback |
| 46 # : First 160 characters of phrasing content |
| 47 # |
| 48 # Nuance |
| 49 # : Descriptions are no longer directly weighted by popular search engines. |
| 50 # A good description introduces a page to encourage a click (which is |
| 51 # directly weighted by popular search engines) in less than 160 characters. |
| 52 #} |
| 53 <meta charset="utf-8"> |
| 54 <meta http-equiv="x-ua-compatible" content="ie=edge"> |
| 55 <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 56 {% if title %} |
| 57 <title>{{ title | translate("page-title", "Meta page title") }}</title> |
| 58 {% endif %} |
| 59 {% if description %} |
| 60 <meta name="description" content="{{ description | translate("page-description
", "Meta page description") }}"> |
| 61 {% endif %} |
OLD | NEW |