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

Delta Between Two Patch Sets: tests/test_site/pages/rel_path.html

Issue 29933596: Issue 5333 - Allow cms to generate relative pages (Closed) Base URL: https://hg.adblockplus.org/cms/
Left Patch Set: Address comments on PS1, rearrange test files Created Nov. 6, 2018, 3:28 a.m.
Right Patch Set: Add documentation, remove extraneous global Created Nov. 9, 2018, 8:16 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « tests/test_site/pages/foo/bar.md ('k') | tests/test_site/settings.ini » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 <body> 1 <html>
2 <img src="img/icon"></img> 2 <body>
3 </body> 3 Simple TS with default: {{ simple[desc] Translate }}.
4 Same TS with no default: {{ simple }}.
5 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}.
6 Link resolving: {{linked-ts <a href="translate">This page</a>}}.
7 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}.
8 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}.
9 Image link: <img src="img/icon"></img>
10 Link to external source: <a href="http://bar.de/">Bar</a>
11 Link to self: <a href="rel_path">
12 Link to self with extension: <a href="rel_path.html">
13 Relative link to local page: <a href="../en/sitemap">
14 Absolute link to local page: <a href="/en/sitemap">
15 Relative link to different locale: <a href="../de/sitemap">
16 Absolute link to diferent locale: <a href="/de/sitemap">
17 Relative link to page in subfolder: <a href="../foo/bar">
18 Absolute link to page in subfolder: <a href="/foo/bar">
19 </body>
20 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld