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

Side by Side Diff: templates/default.tmpl

Issue 29332884: Issue 3435 - add missing trailing slash to the canonical url (Closed)
Patch Set: Created Dec. 18, 2015, 5:33 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 | « no previous file | 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 <meta charset="UTF-8" /> 4 <meta charset="UTF-8" />
5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scal e=1,user-scalable=no" /> 5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scal e=1,user-scalable=no" />
6 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 7
8 {% if title %} 8 {% if title %}
9 <title>{{title}} | Eyeo GmbH</title> 9 <title>{{title}} | Eyeo GmbH</title>
10 {% else %} 10 {% else %}
11 <title>Eyeo GmbH</title> 11 <title>Eyeo GmbH</title>
12 {% endif %} 12 {% endif %}
13 13
14 <link rel="shortcut icon" href="/images/favicon.png" /> 14 <link rel="shortcut icon" href="/images/favicon.png" />
15 15
16 <link rel="stylesheet" href="/css/styles.css" type="text/css" media="all"> 16 <link rel="stylesheet" href="/css/styles.css" type="text/css" media="all">
17 17
18 <script src="/js/jquery.js"></script> 18 <script src="/js/jquery.js"></script>
19 <script src="/js/scripts.js"></script> 19 <script src="/js/scripts.js"></script>
20 20
21 <link rel="canonical" href="https://eyeo.com/{{page|stripindex}}"> 21 {% if page == "index" or page == "" %}
22 <link rel="canonical" href="https://eyeo.com">
23 {% else %}
24 <link rel="canonical" href="https://eyeo.com/{{page|stripindex}}/">
Sebastian Noack 2015/12/18 17:42:46 This will add a redundant slash if the we didn't s
25 {% endif %}
22 26
23 {% block head %} 27 {% block head %}
24 {{head|safe}} 28 {{head|safe}}
25 {% endblock %} 29 {% endblock %}
26 </head> 30 </head>
27 31
28 <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"> 32 <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">
29 33
30 <header id="header"> 34 <header id="header">
31 <div class="content-block"> 35 <div class="content-block">
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 <div class="footer-text"> 68 <div class="footer-text">
65 Adblock Plus™ and Acceptable Ads™ are registered trademarks of Eyeo GmbH . 69 Adblock Plus™ and Acceptable Ads™ are registered trademarks of Eyeo GmbH .
66 </div> 70 </div>
67 71
68 <a href="#top" id="to-top" style="opacity: 0;"></a> 72 <a href="#top" id="to-top" style="opacity: 0;"></a>
69 </div> 73 </div>
70 </footer> 74 </footer>
71 </body> 75 </body>
72 76
73 </html> 77 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld