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

Unified Diff: tests/test_site/pages/foo/bar.html

Issue 29933596: Issue 5333 - Allow cms to generate relative pages (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Translate rel_path Created Nov. 8, 2018, 2:48 a.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
Index: tests/test_site/pages/foo/bar.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/test_site/pages/foo/bar.html
@@ -0,0 +1,10 @@
+<body>
+ File used for to test the correct generation of pages within that
+ are located in some place other than root.
+
+ It is also used to test the correct handling of a case where a
+ file is replaced by a directory of vice-versa.
+
+ Relative link to page in superfolder: <a href="../sitemap">
+ Absolute link to page in superfolder: <a href="/en/sitemap">
+</body>

Powered by Google App Engine
This is Rietveld