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 29979564: Issue 5452 - Improve CMS API for local link generation (Closed) Base URL: https://hg.adblockplus.org/cms/
Left Patch Set: Address comments on PS1 Created Jan. 14, 2019, 2:56 p.m.
Right Patch Set: Fix spacing in `global` Created Jan. 17, 2019, 3:12 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
« no previous file with change/comment | « tests/expected_output/static/en/get_page_url ('k') | tests/test_site/pages/global.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 1
2 global_canonical_url = {{ get_canonical_url('global') }} 2 global_canonical_url = {{ get_canonical_url('global') }}
3 3
4 # 'filter' is default page name for the test website, so we check that the 4 # 'filter' is default page name for the test website, so we check that the
5 # link would not include the page name itself. 5 # link would not include the page name itself.
6 filter_canonical_url = {{ get_canonical_url('filter') }} 6 filter_canonical_url = {{ get_canonical_url('filter') }}
7 7
8 page_url = {{ get_page_url('global', 'en') }} 8 page_url = {{ get_page_url('translate') }}
9 9
10 page_url_redirect = {{ get_page_url('global', redirect=True) }} 10 page_url_redirect = {{ get_page_url('global', redirect=True) }}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld