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

Unified Diff: 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/
Patch Set: Address comments on PS2, rearrange test files (again) Created Nov. 7, 2018, 4:14 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
« tests/test_page_outputs.py ('K') | « tests/test_site/pages/foo/bar.md ('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/rel_path.html
===================================================================
--- a/tests/test_site/pages/rel_path.html
+++ b/tests/test_site/pages/rel_path.html
@@ -1,3 +1,12 @@
<body>
- <img src="img/icon"></img>
+ Image link: <img src="img/icon"></img>
+ Link to external source: <a href="http://bar.de/">Bar</a>
+ Link to self: <a href="rel_path">
+ Link to self with extension: <a href="rel_path.html">
+ Relative link to local page: <a href="../en/sitemap">
+ Absolute link to local page: <a href="/en/sitemap">
+ Relative link to different locale: <a href="../de/sitemap">
+ Absolute link to diferent locale: <a href="/de/sitemap">
+ Relative link to page in subfolder: <a href="../foo/bar">
+ Absolute link to page in subfolder: <a href="/foo/bar">
</body>
« tests/test_page_outputs.py ('K') | « tests/test_site/pages/foo/bar.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld