Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: templates/default.tmpl

Issue 29511691: Issue 5444 - Add missing essential meta data to eyeo.com (Closed) Base URL: https://hg.adblockplus.org/web.eyeo.com
Patch Set: Created Aug. 10, 2017, 8:04 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « settings.ini ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="{{locale}}"> 2 <html lang="{{locale}}">
3 <head> 3 <head>
4 {# HTML5 essentials #} 4 {# HTML5 essentials #}
5 <meta charset="UTF-8" /> 5 <meta charset="UTF-8" />
6 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scal e=1,user-scalable=no" /> 6 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scal e=1,user-scalable=no" />
7 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 <meta http-equiv="X-UA-Compatible" content="IE=edge">
8 8
9 {# HTML5 meta #} 9 {# HTML5 meta #}
10 <title>{{ title }} | eyeo GmbH</title>
10 {% if description %} 11 {% if description %}
11 <meta name="description" content="{{ description }}"> 12 <meta name="description" content="{{ description }}">
12 {% endif %} 13 {% endif %}
14 <link rel="canonical" href="{{ get_canonical_url(page) }}" />
13 15
14 {# http://ogp.me/ #} 16 {# http://ogp.me/ #}
17 <meta property="og:title" content="{{ title }} | eyeo GmbH">
15 <meta property="og:image" content="{{og_image if og_image else 'https://eyeo.c om/images/eyeo-meta-default.png'}}"> 18 <meta property="og:image" content="{{og_image if og_image else 'https://eyeo.c om/images/eyeo-meta-default.png'}}">
16 19 {% if description %}
17 {% if title %} 20 <meta property="og:description" content="{{ description }}">
18 <title>{{title}} | eyeo GmbH</title>
19 {% else %}
20 <title>eyeo GmbH</title>
21 {% endif %} 21 {% endif %}
22 <meta property="og:url" content="{{ get_canonical_url(page) }}">
23 <meta property="og:locale" content="{{ locale | to_og_locale }}">
22 24
23 <link rel="shortcut icon" href="/images/favicon.png" /> 25 <link rel="shortcut icon" href="/images/favicon.png" />
24 26
25 <link rel="stylesheet" href="/css/styles.css" type="text/css" media="all"> 27 <link rel="stylesheet" href="/css/styles.css" type="text/css" media="all">
26 28
27 <!--[if lt IE 9]> 29 <!--[if lt IE 9]>
28 <script src="/js/html5shiv.min.js"></script> 30 <script src="/js/html5shiv.min.js"></script>
29 <script src="/js/respond.min.js"></script> 31 <script src="/js/respond.min.js"></script>
30 <![endif]--> 32 <![endif]-->
31 33
32 <script src="/js/jquery.js"></script> 34 <script src="/js/jquery.js"></script>
33 <script src="/js/scripts.js"></script> 35 <script src="/js/scripts.js"></script>
34 36
35 <link rel="canonical" href="https://eyeo.com/{{ page[:-5] if page.split('/')[- 1] == 'index' else page }}">
36
37 {% block head %} 37 {% block head %}
38 {{head|safe}} 38 {{head|safe}}
39 {% endblock %} 39 {% endblock %}
40 </head> 40 </head>
41 41
42 <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"> 42 <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">
43 43
44 <header id="header" class="top"> 44 <header id="header" class="top">
45 <div class="content-block"> 45 <div class="content-block">
46 46
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 </small> 96 </small>
97 <div id="footer-links"> 97 <div id="footer-links">
98 {{"contact"|linkify}}Made with ♥ in Cologne</a> 98 {{"contact"|linkify}}Made with ♥ in Cologne</a>
99 {{"privacy"|linkify}}Privacy Policy</a> 99 {{"privacy"|linkify}}Privacy Policy</a>
100 </div> 100 </div>
101 </div> 101 </div>
102 </footer> 102 </footer>
103 </body> 103 </body>
104 104
105 </html> 105 </html>
OLDNEW
« no previous file with comments | « settings.ini ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld