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

Side by Side Diff: templates/default.tmpl

Issue 29332874: Issue 3435 - strip "index" from page path for canonical URL (Closed)
Patch Set: Created Dec. 18, 2015, 10:28 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« filters/stripindex.py ('K') | « filters/stripindex.py ('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 <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}}"> 21 <link rel="canonical" href="https://eyeo.com/{{ page|stripindex }}">
22 22
23 {% block head %} 23 {% block head %}
24 {{head|safe}} 24 {{head|safe}}
25 {% endblock %} 25 {% endblock %}
26 </head> 26 </head>
27 27
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"> 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">
29 29
30 <header id="header"> 30 <header id="header">
31 <div class="content-block"> 31 <div class="content-block">
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 <div class="footer-text"> 64 <div class="footer-text">
65 Adblock Plus™ and Acceptable Ads™ are registered trademarks of Eyeo GmbH . 65 Adblock Plus™ and Acceptable Ads™ are registered trademarks of Eyeo GmbH .
66 </div> 66 </div>
67 67
68 <a href="#top" id="to-top" style="opacity: 0;"></a> 68 <a href="#top" id="to-top" style="opacity: 0;"></a>
69 </div> 69 </div>
70 </footer> 70 </footer>
71 </body> 71 </body>
72 72
73 </html> 73 </html>
OLDNEW
« filters/stripindex.py ('K') | « filters/stripindex.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld