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

Unified Diff: templates/default.tmpl

Issue 29333092: Issue 3438 - Added <link rel=canonical> tag to adblockbrowser.org (Closed)
Patch Set: Created Dec. 28, 2015, 2:51 p.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
« no previous file with comments | « no previous file | 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
@@ -22,6 +22,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
<link rel="apple-touch-icon" href="/images/favicon-large.png" />
+ <link rel="canonical" href="https://adblockbrowser.org/{{ page[:-5] if page.split('/')[-1] == 'index' else page }}">
saroyanm 2015/12/28 15:35:05 Nit: Please also close the tag, to make it consist
Sebastian Noack 2015/12/28 16:38:02 Well, I'm almost certain that this wrong in the co
{{head|safe}}
<!--[if lt lte 9]>
<script src="/js/html5shiv.min.js"></script>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld