OLD | NEW |
| 1 {{ head|safe }} |
| 2 <title>Page Title</title> |
| 3 <link rel="stylesheet" href="../dist/css/main.min.css"> |
| 4 <base href="https://www.example.com/news/index.html"> |
| 5 <script src="../scripts/myscript.js"></script> |
| 6 |
| 7 |
| 8 |
| 9 <!DOCTYPE html> |
1 <html> | 10 <html> |
| 11 |
| 12 |
2 <body> | 13 <body> |
3 Simple TS with default: Translate. | 14 Simple TS with default: Translate. |
4 Same TS with no default: Translate. | 15 Same TS with no default: Translate. |
5 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. | 16 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co
m/">Baz</a>. |
6 Link resolving: <a href="translate" hreflang="en">This page</a>. | 17 Link resolving: <a href="translate" hreflang="en">This page</a>. |
7 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a>. | 18 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a>. |
8 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. | 19 Entity escaping in links: <a href="http://foo.com/?a&b">Foo</a>. |
9 Image link: <img src="../img/icon"></img> | 20 Image link: <img src="../img/icon"></img> |
| 21 Iframe link: <iframe src="../default.asp"></iframe> |
| 22 Script link: <script src="myscripts.js"></script> |
| 23 Input link: <input type="image" src="../img/submit.gif" alt="Submit"> |
10 Link to external source: <a href="http://bar.de/">Bar</a> | 24 Link to external source: <a href="http://bar.de/">Bar</a> |
11 Link to self: <a href="rel_path" hreflang="en"> | 25 Link to self: <a href="rel_path" hreflang="en"> |
12 Link to self with extension: <a href="rel_path.html" hreflang="en"> | 26 Link to self with extension: <a href="rel_path.html" hreflang="en"> |
13 Relative link to local page: <a href="../en/sitemap"> | 27 Relative link to local page: <a href="../en/sitemap"> |
14 Absolute link to local page: <a href="sitemap"> | 28 Absolute link to local page: <a href="sitemap"> |
15 Relative link to different locale: <a href="../de/sitemap"> | 29 Relative link to different locale: <a href="../de/sitemap"> |
16 Absolute link to diferent locale: <a href="../de/sitemap"> | 30 Absolute link to diferent locale: <a href="../de/sitemap"> |
17 Relative link to page in subfolder: <a href="../foo/bar"> | 31 Relative link to page in subfolder: <a href="../foo/bar"> |
18 Absolute link to page in subfolder: <a href="../foo/bar"> | 32 Absolute link to page in subfolder: <a href="../foo/bar"> |
| 33 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css"> |
19 </body> | 34 </body> |
20 </html> | 35 </html> |
OLD | NEW |