OLD | NEW |
(Empty) | |
| 1 <head> |
| 2 <title>Page Title</title> |
| 3 <link rel="stylesheet" href="/dist/css/main.min.css"> |
| 4 </head> |
| 5 <html> |
| 6 <body> |
| 7 Simple TS with default: {{ simple[desc] Translate }}. |
| 8 Same TS with no default: {{ simple }}. |
| 9 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a
> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}. |
| 10 Link resolving: {{linked-ts <a href="translate">This page</a>}}. |
| 11 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}. |
| 12 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}. |
| 13 Image link: <img src="img/icon"></img> |
| 14 Link to external source: <a href="http://bar.de/">Bar</a> |
| 15 Link to self: <a href="rel_path"> |
| 16 Link to self with extension: <a href="rel_path.html"> |
| 17 Relative link to local page: <a href="../en/sitemap"> |
| 18 Absolute link to local page: <a href="/en/sitemap"> |
| 19 Relative link to different locale: <a href="../de/sitemap"> |
| 20 Absolute link to diferent locale: <a href="/de/sitemap"> |
| 21 Relative link to page in subfolder: <a href="../foo/bar"> |
| 22 Absolute link to page in subfolder: <a href="/foo/bar"> |
| 23 Resource URL: <link rel="stylesheet" href="/dist/css/main.min.css"> |
| 24 </body> |
| 25 </html> |
OLD | NEW |