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

Unified Diff: tests/test_site/pages/get_page_url.tmpl

Issue 29495555: Fixes 5343 - add global function: get_canonical_url (Closed)
Patch Set: Add comment about test-type-specific expected output handling Created Aug. 3, 2017, 9:10 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
Index: tests/test_site/pages/get_page_url.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/test_site/pages/get_page_url.tmpl
@@ -0,0 +1,7 @@
+template = empty
+
+global_canonical_url = {{ get_canonical_url('global') }}
+
+# 'filter' is default page name for the test website, so we check that the
+# link would not include the page name itself.
+filter_canonical_url = {{ get_canonical_url('filter') }}

Powered by Google App Engine
This is Rietveld