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,20 +1,23 @@ |
-<html> |
+template = head-test |
<body> |
-Simple TS with default: {{ simple[desc] Translate }}. |
-Same TS with no default: {{ simple }}. |
-Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. |
-Link resolving: {{linked-ts <a href="translate">This page</a>}}. |
-Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. |
-Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. |
-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"> |
+ Simple TS with default: {{ simple[desc] Translate }}. |
+ Same TS with no default: {{ simple }}. |
+ Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. |
+ Link resolving: {{linked-ts <a href="translate">This page</a>}}. |
+ Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. |
+ Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. |
+ Image link: <img src="img/icon"></img> |
+ Iframe link: <iframe src="/default.asp"></iframe> |
+ Script link: <script src="myscripts.js"></script> |
+ Input link: <input type="image" src="/img/submit.gif" alt="Submit"> |
+ 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"> |
+ Resource URL: <link rel="stylesheet" href="/dist/css/main.min.css"> |
</body> |
-</html> |