| Index: templates/default.tmpl |
| =================================================================== |
| --- a/templates/default.tmpl |
| +++ b/templates/default.tmpl |
| @@ -2,43 +2,43 @@ |
| <html lang="{{locale}}"> |
| <head> |
| {# HTML5 essentials #} |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" /> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| {# HTML5 meta #} |
| + <title>{{ title }} | eyeo GmbH</title> |
| {% if description %} |
| - <meta name="description" content="{{ description }}"> |
| + <meta name="description" content="{{ description }}"> |
| {% endif %} |
| + <link rel="canonical" href="{{ get_canonical_url(page) }}" /> |
| {# http://ogp.me/ #} |
| + <meta property="og:title" content="{{ title }} | eyeo GmbH"> |
| <meta property="og:image" content="{{og_image if og_image else 'https://eyeo.com/images/eyeo-meta-default.png'}}"> |
| - |
| - {% if title %} |
| - <title>{{title}} | eyeo GmbH</title> |
| - {% else %} |
| - <title>eyeo GmbH</title> |
| + {% if description %} |
| + <meta property="og:description" content="{{ description }}"> |
| {% endif %} |
| + <meta property="og:url" content="{{ get_canonical_url(page) }}"> |
| + <meta property="og:locale" content="{{ locale | to_og_locale }}"> |
| <link rel="shortcut icon" href="/images/favicon.png" /> |
| <link rel="stylesheet" href="/css/styles.css" type="text/css" media="all"> |
| <!--[if lt IE 9]> |
| <script src="/js/html5shiv.min.js"></script> |
| <script src="/js/respond.min.js"></script> |
| <![endif]--> |
| <script src="/js/jquery.js"></script> |
| <script src="/js/scripts.js"></script> |
| - <link rel="canonical" href="https://eyeo.com/{{ page[:-5] if page.split('/')[-1] == 'index' else page }}"> |
| - |
| {% block head %} |
| {{head|safe}} |
| {% endblock %} |
| </head> |
| <body id="top" class="home page page-template-default apollo_validation_on cover wpb-js-composer js-comp-ver-3.6.14.1 vc_responsive"> |
| <header id="header" class="top"> |