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

Side by Side Diff: tests/test_site/pages/get_page_url.tmpl

Issue 29495555: Fixes 5343 - add global function: get_canonical_url (Closed)
Patch Set: Implement get_canonical_url (according to updated ticket) Created July 28, 2017, 10:07 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/test_page_outputs.py ('k') | tests/test_site/settings.ini » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 template = empty
2
3 global_canonical_url = {{ get_canonical_url('global') }}
4
5 # 'filter' is default page name for the test website, so we check that the
6 # link would not include the page name itself.
7 filter_canonical_url = {{ get_canonical_url('filter') }}
OLDNEW
« no previous file with comments | « tests/test_page_outputs.py ('k') | tests/test_site/settings.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld