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: Created July 23, 2017, 4:35 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
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,6 @@
+template = empty
+
+foo_url = {{ get_page_url('foo') }}
+foo_de_url = {{ get_page_url('foo', 'de') }}
+foo_canonical_url = {{ get_page_url('foo', None) }}
+

Powered by Google App Engine
This is Rietveld