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

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

Issue 29979564: Issue 5452 - Improve CMS API for local link generation (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Created Jan. 11, 2019, 11:46 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
« cms/converters.py ('K') | « tests/expected_output/static/en/get_page_url ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_site/pages/get_page_url.tmpl
===================================================================
--- a/tests/test_site/pages/get_page_url.tmpl
+++ b/tests/test_site/pages/get_page_url.tmpl
@@ -4,3 +4,5 @@
# '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') }}
+
+page_url = {{ get_page_url('global', redirect=True) }}
« cms/converters.py ('K') | « tests/expected_output/static/en/get_page_url ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld