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

Delta Between Two Patch Sets: tests/test_site/pages/get_page_url.tmpl

Issue 29495555: Fixes 5343 - add global function: get_canonical_url (Closed)
Left Patch Set: Created July 23, 2017, 4:35 p.m.
Right Patch Set: Add comment about test-type-specific expected output handling Created Aug. 3, 2017, 9:10 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 template = empty 1 template = empty
2 2
3 foo_url = {{ get_page_url('foo') }} 3 global_canonical_url = {{ get_canonical_url('global') }}
4 foo_de_url = {{ get_page_url('foo', 'de') }}
5 foo_canonical_url = {{ get_page_url('foo', None) }}
6 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') }}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld