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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« filters/stripindex.py ('K') | « filters/stripindex.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -18,7 +18,7 @@
<script src="/js/jquery.js"></script>
<script src="/js/scripts.js"></script>
- <link rel="canonical" href="https://eyeo.com/{{page}}">
+ <link rel="canonical" href="https://eyeo.com/{{ page|stripindex }}">
{% block head %}
{{head|safe}}
« filters/stripindex.py ('K') | « filters/stripindex.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld