aboutsummaryrefslogtreecommitdiff
path: root/plugins/i18n_subsites/test_data/output
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-11-30 22:56:26 +0100
committerSébastien Dailly <sebastien@chimrod.com>2020-12-03 21:35:35 +0100
commit9b77ec15e5beeff3f57f845be883416d2a68b84d (patch)
tree796f2aecfcdf5012ce611fac22b85fa481bf63de /plugins/i18n_subsites/test_data/output
parent1c02ae819eee2d28040804d58872ceb4c003ee1f (diff)
New article on rst & Latex. Changed theme
Diffstat (limited to 'plugins/i18n_subsites/test_data/output')
-rw-r--r--plugins/i18n_subsites/test_data/output/an-untranslated-article.html56
-rw-r--r--plugins/i18n_subsites/test_data/output/cz/an-untranslated-article-en.html55
-rw-r--r--plugins/i18n_subsites/test_data/output/cz/feeds_all.atom.xml10
-rw-r--r--plugins/i18n_subsites/test_data/output/cz/index.html56
-rw-r--r--plugins/i18n_subsites/test_data/output/cz/pages/404.html40
-rw-r--r--plugins/i18n_subsites/test_data/output/cz/translated-article.html61
-rw-r--r--plugins/i18n_subsites/test_data/output/de/drafts/an-untranslated-article-en.html55
-rw-r--r--plugins/i18n_subsites/test_data/output/de/feeds_all.atom.xml8
-rw-r--r--plugins/i18n_subsites/test_data/output/de/index.html44
-rw-r--r--plugins/i18n_subsites/test_data/output/de/pages/404.html40
-rw-r--r--plugins/i18n_subsites/test_data/output/de/pages/untranslated-page-en.html34
-rw-r--r--plugins/i18n_subsites/test_data/output/de/translated-article.html61
-rw-r--r--plugins/i18n_subsites/test_data/output/feeds_all.atom.xml10
-rw-r--r--plugins/i18n_subsites/test_data/output/images/img.png0
-rw-r--r--plugins/i18n_subsites/test_data/output/index.html57
-rw-r--r--plugins/i18n_subsites/test_data/output/pages/404.html41
-rw-r--r--plugins/i18n_subsites/test_data/output/pages/untranslated-page.html35
-rw-r--r--plugins/i18n_subsites/test_data/output/theme/style.css0
-rw-r--r--plugins/i18n_subsites/test_data/output/translated-article.html62
19 files changed, 725 insertions, 0 deletions
diff --git a/plugins/i18n_subsites/test_data/output/an-untranslated-article.html b/plugins/i18n_subsites/test_data/output/an-untranslated-article.html
new file mode 100644
index 0000000..f2f6494
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/an-untranslated-article.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testing site - An untranslated article</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/theme/style.css" />
+
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/">Testing site</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
+ <li class="active"><a href="http://example.com/test/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/an-untranslated-article.html" rel="bookmark"
+ title="Permalink to An untranslated article">An untranslated article</a></h2>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-07-14T00:00:00+00:00">
+ Mon 14 July 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>An article without a translation.
+Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/cz/an-untranslated-article-en.html b/plugins/i18n_subsites/test_data/output/cz/an-untranslated-article-en.html
new file mode 100644
index 0000000..4673ee5
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/cz/an-untranslated-article-en.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testovací stránka - An untranslated article</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
+
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/cz/">Testovací stránka</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li class="active"><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/cz/an-untranslated-article-en.html" rel="bookmark"
+ title="Permalink to An untranslated article">An untranslated article</a></h2>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-07-14T00:00:00+00:00">
+ Mon 14 July 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/cz/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>An article without a translation.
+Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/cz/feeds_all.atom.xml b/plugins/i18n_subsites/test_data/output/cz/feeds_all.atom.xml
new file mode 100644
index 0000000..7415e1f
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/cz/feeds_all.atom.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Testovací stránka</title><link href="http://example.com/test/cz/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/cz/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
+Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
+Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
+Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>An untranslated article</title><link href="http://example.com/test/cz/an-untranslated-article-en.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>Test Testovič</name></author><id>tag:example.com,2014-07-14:/test/cz/an-untranslated-article-en.html</id><content type="html">&lt;p&gt;An article without a translation.
+Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
+</content><category term="misc"></category></entry></feed> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/cz/index.html b/plugins/i18n_subsites/test_data/output/cz/index.html
new file mode 100644
index 0000000..c5fca32
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/cz/index.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html lang="cz">
+<head>
+ <title>Welcome to our Testovací stránka</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/cz/">Testovací stránka</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content">
+<h2>All articles</h2>
+
+<ol id="post-list">
+ <li><article class="hentry">
+ <header> <h2 class="entry-title"><a href="http://example.com/test/cz/translated-article.html" rel="bookmark" title="Permalink to Přeložený článek">Přeložený článek</a></h2> </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-15T00:00:00+00:00"> Mon 15 September 2014 </time>
+ <address class="vcard author">By
+ <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
+ </address>
+ </footer><!-- /.post-info -->
+ <div class="entry-content"> <p>Jednoduchý článek s překlady.
+Zde je odkaz na <a class="reference external" href="http://example.com/test/images/img.png">nějaký obrázek</a>.</p>
+ </div><!-- /.entry-content -->
+ </article></li>
+ <li><article class="hentry">
+ <header> <h2 class="entry-title"><a href="http://example.com/test/cz/an-untranslated-article-en.html" rel="bookmark" title="Permalink to An untranslated article">An untranslated article</a></h2> </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-07-14T00:00:00+00:00"> Mon 14 July 2014 </time>
+ <address class="vcard author">By
+ <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
+ </address>
+ </footer><!-- /.post-info -->
+ <div class="entry-content"> <p>An article without a translation.
+Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
+ </div><!-- /.entry-content -->
+ </article></li>
+</ol><!-- /#posts-list -->
+</section><!-- /#content -->
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/cz/pages/404.html b/plugins/i18n_subsites/test_data/output/cz/pages/404.html
new file mode 100644
index 0000000..884203b
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/cz/pages/404.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="cz">
+<head>
+ <title>Testovací stránka - 404 stránka</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
+
+
+ <link rel="alternate" hreflang="de" href="http://example.com/test/cz/../de/pages/404.html">
+ <link rel="alternate" hreflang="en" href="http://example.com/test/cz/../pages/404.html">
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/cz/">Testovací stránka</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+ <h1>404 stránka</h1>
+ Translations:
+<a href="http://example.com/test/cz/../de/pages/404.html" hreflang="de">de</a>
+<a href="http://example.com/test/cz/../pages/404.html" hreflang="en">en</a>
+
+
+ <p>Jednoduchá 404 stránka.</p>
+
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html>
diff --git a/plugins/i18n_subsites/test_data/output/cz/translated-article.html b/plugins/i18n_subsites/test_data/output/cz/translated-article.html
new file mode 100644
index 0000000..5a5e545
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/cz/translated-article.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html lang="cz">
+<head>
+ <title>Testovací stránka - Přeložený článek</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
+
+
+ <link rel="alternate" hreflang="de" href="http://example.com/test/cz/../de/translated-article.html">
+ <link rel="alternate" hreflang="en" href="http://example.com/test/cz/../translated-article.html">
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/cz/">Testovací stránka</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li class="active"><a href="http://example.com/test/cz/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/cz/translated-article.html" rel="bookmark"
+ title="Permalink to Přeložený článek">Přeložený článek</a></h2>
+ Translations:
+<a href="http://example.com/test/cz/../de/translated-article.html" hreflang="de">de</a>
+<a href="http://example.com/test/cz/../translated-article.html" hreflang="en">en</a>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-15T00:00:00+00:00">
+ Mon 15 September 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/cz/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>Jednoduchý článek s překlady.
+Zde je odkaz na <a class="reference external" href="http://example.com/test/images/img.png">nějaký obrázek</a>.</p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/drafts/an-untranslated-article-en.html b/plugins/i18n_subsites/test_data/output/de/drafts/an-untranslated-article-en.html
new file mode 100644
index 0000000..f01dc31
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/drafts/an-untranslated-article-en.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testseite - An untranslated article</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
+
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/de/">Testseite</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li class="active"><a href="http://example.com/test/de/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/de/drafts/an-untranslated-article-en.html" rel="bookmark"
+ title="Permalink to An untranslated article">An untranslated article</a></h2>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-07-14T00:00:00+00:00">
+ Mo 14 Juli 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/de/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>An article without a translation.
+Here is a link to an <a class="reference external" href="http://example.com/test/de/pages/untranslated-page-en.html">untranslated page</a></p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/feeds_all.atom.xml b/plugins/i18n_subsites/test_data/output/de/feeds_all.atom.xml
new file mode 100644
index 0000000..8d845fe
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/feeds_all.atom.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Testseite</title><link href="http://example.com/test/de/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/de/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
+Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
+Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>Der Tester</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
+Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry></feed> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/index.html b/plugins/i18n_subsites/test_data/output/de/index.html
new file mode 100644
index 0000000..fc43ae1
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/index.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html lang="de">
+<head>
+ <title>Willkommen Sie zur unserer Testseite</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/de/">Testseite</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content">
+<h2>All articles</h2>
+
+<ol id="post-list">
+ <li><article class="hentry">
+ <header> <h2 class="entry-title"><a href="http://example.com/test/de/translated-article.html" rel="bookmark" title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2> </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-14T00:00:00+00:00"> So 14 September 2014 </time>
+ <address class="vcard author">By
+ <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
+ </address>
+ </footer><!-- /.post-info -->
+ <div class="entry-content"> <p>Ein einfacher Artikel mit einer Übersetzung.
+Hier ist ein Link zur <a class="reference external" href="http://example.com/test/images/img.png">einigem Bild</a>.</p>
+ </div><!-- /.entry-content -->
+ </article></li>
+</ol><!-- /#posts-list -->
+</section><!-- /#content -->
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/pages/404.html b/plugins/i18n_subsites/test_data/output/de/pages/404.html
new file mode 100644
index 0000000..6425660
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/pages/404.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html lang="de">
+<head>
+ <title>Testseite - Eine 404 Seite</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
+
+
+ <link rel="alternate" hreflang="cz" href="http://example.com/test/de/../cz/pages/404.html">
+ <link rel="alternate" hreflang="en" href="http://example.com/test/de/../pages/404.html">
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/de/">Testseite</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+ <h1>Eine 404 Seite</h1>
+ Translations:
+<a href="http://example.com/test/de/../cz/pages/404.html" hreflang="cz">cz</a>
+<a href="http://example.com/test/de/../pages/404.html" hreflang="en">en</a>
+
+
+ <p>Eine einfache 404 Seite.</p>
+
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/pages/untranslated-page-en.html b/plugins/i18n_subsites/test_data/output/de/pages/untranslated-page-en.html
new file mode 100644
index 0000000..2df5ff9
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/pages/untranslated-page-en.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testseite - Untranslated page</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/de/">Testseite</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/de/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+ <h1>Untranslated page</h1>
+
+
+ <p>This page has no translation.</p>
+
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/de/translated-article.html b/plugins/i18n_subsites/test_data/output/de/translated-article.html
new file mode 100644
index 0000000..9393b95
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/de/translated-article.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html lang="de">
+<head>
+ <title>Testseite - Ein übersetzter Artikel</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testseite Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/de/../theme/style.css" />
+
+
+ <link rel="alternate" hreflang="cz" href="http://example.com/test/de/../cz/translated-article.html">
+ <link rel="alternate" hreflang="en" href="http://example.com/test/de/../translated-article.html">
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/de/">Testseite</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li class="active"><a href="http://example.com/test/de/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/de/translated-article.html" rel="bookmark"
+ title="Permalink to Ein übersetzter Artikel">Ein übersetzter Artikel</a></h2>
+ Translations:
+<a href="http://example.com/test/de/../cz/translated-article.html" hreflang="cz">cz</a>
+<a href="http://example.com/test/de/../translated-article.html" hreflang="en">en</a>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-14T00:00:00+00:00">
+ So 14 September 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/de/author/der-tester.html">Der Tester</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/de/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>Ein einfacher Artikel mit einer Übersetzung.
+Hier ist ein Link zur <a class="reference external" href="http://example.com/test/images/img.png">einigem Bild</a>.</p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/feeds_all.atom.xml b/plugins/i18n_subsites/test_data/output/feeds_all.atom.xml
new file mode 100644
index 0000000..c6c0908
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/feeds_all.atom.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Testing site</title><link href="http://example.com/test/" rel="alternate"></link><link href="http://example.com/test/feeds_all.atom.xml" rel="self"></link><id>http://example.com/test/</id><updated>2014-09-15T00:00:00+00:00</updated><entry><title>Přeložený článek</title><link href="http://example.com/test/cz/translated-article.html" rel="alternate"></link><published>2014-09-15T00:00:00+00:00</published><updated>2014-09-15T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-15:/test/cz/translated-article.html</id><content type="html">&lt;p&gt;Jednoduchý článek s překlady.
+Zde je odkaz na &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;nějaký obrázek&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>Ein übersetzter Artikel</title><link href="http://example.com/test/de/translated-article.html" rel="alternate"></link><published>2014-09-14T00:00:00+00:00</published><updated>2014-09-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-14:/test/de/translated-article.html</id><content type="html">&lt;p&gt;Ein einfacher Artikel mit einer Übersetzung.
+Hier ist ein Link zur &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;einigem Bild&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>A translated article</title><link href="http://example.com/test/translated-article.html" rel="alternate"></link><published>2014-09-13T00:00:00+00:00</published><updated>2014-09-13T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-09-13:/test/translated-article.html</id><content type="html">&lt;p&gt;A simple article with a translation.
+Here is a link to &lt;a class="reference external" href="http://example.com/test/images/img.png"&gt;some image&lt;/a&gt;.&lt;/p&gt;
+</content><category term="misc"></category></entry><entry><title>An untranslated article</title><link href="http://example.com/test/an-untranslated-article.html" rel="alternate"></link><published>2014-07-14T00:00:00+00:00</published><updated>2014-07-14T00:00:00+00:00</updated><author><name>The Tester</name></author><id>tag:example.com,2014-07-14:/test/an-untranslated-article.html</id><content type="html">&lt;p&gt;An article without a translation.
+Here is a link to an &lt;a class="reference external" href="http://example.com/test/pages/untranslated-page.html"&gt;untranslated page&lt;/a&gt;&lt;/p&gt;
+</content><category term="misc"></category></entry></feed> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/images/img.png b/plugins/i18n_subsites/test_data/output/images/img.png
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/images/img.png
diff --git a/plugins/i18n_subsites/test_data/output/index.html b/plugins/i18n_subsites/test_data/output/index.html
new file mode 100644
index 0000000..c455687
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/index.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Welcome to our Testing site</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/theme/style.css" />
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/">Testing site</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
+ <li><a href="http://example.com/test/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content">
+<h2>All articles</h2>
+
+<ol id="post-list">
+ <li><article class="hentry">
+ <header> <h2 class="entry-title"><a href="http://example.com/test/translated-article.html" rel="bookmark" title="Permalink to A translated article">A translated article</a></h2> </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-13T00:00:00+00:00"> Sat 13 September 2014 </time>
+ <address class="vcard author">By
+ <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
+ </address>
+ </footer><!-- /.post-info -->
+ <div class="entry-content"> <p>A simple article with a translation.
+Here is a link to <a class="reference external" href="http://example.com/test/images/img.png">some image</a>.</p>
+ </div><!-- /.entry-content -->
+ </article></li>
+ <li><article class="hentry">
+ <header> <h2 class="entry-title"><a href="http://example.com/test/an-untranslated-article.html" rel="bookmark" title="Permalink to An untranslated article">An untranslated article</a></h2> </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-07-14T00:00:00+00:00"> Mon 14 July 2014 </time>
+ <address class="vcard author">By
+ <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
+ </address>
+ </footer><!-- /.post-info -->
+ <div class="entry-content"> <p>An article without a translation.
+Here is a link to an <a class="reference external" href="http://example.com/test/pages/untranslated-page.html">untranslated page</a></p>
+ </div><!-- /.entry-content -->
+ </article></li>
+</ol><!-- /#posts-list -->
+</section><!-- /#content -->
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/pages/404.html b/plugins/i18n_subsites/test_data/output/pages/404.html
new file mode 100644
index 0000000..4695f3c
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/pages/404.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testing site - A 404 page</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/theme/style.css" />
+
+
+ <link rel="alternate" hreflang="cz" href="http://example.com/test/cz/pages/404.html">
+ <link rel="alternate" hreflang="de" href="http://example.com/test/de/pages/404.html">
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/">Testing site</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
+ <li><a href="http://example.com/test/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+ <h1>A 404 page</h1>
+ Translations:
+<a href="http://example.com/test/cz/pages/404.html" hreflang="cz">cz</a>
+<a href="http://example.com/test/de/pages/404.html" hreflang="de">de</a>
+
+
+ <p>A simple 404 page.</p>
+
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/pages/untranslated-page.html b/plugins/i18n_subsites/test_data/output/pages/untranslated-page.html
new file mode 100644
index 0000000..3ff02df
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/pages/untranslated-page.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testing site - Untranslated page</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/theme/style.css" />
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/">Testing site</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li class="active"><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
+ <li><a href="http://example.com/test/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+ <h1>Untranslated page</h1>
+
+
+ <p>This page has no translation.</p>
+
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/i18n_subsites/test_data/output/theme/style.css b/plugins/i18n_subsites/test_data/output/theme/style.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/theme/style.css
diff --git a/plugins/i18n_subsites/test_data/output/translated-article.html b/plugins/i18n_subsites/test_data/output/translated-article.html
new file mode 100644
index 0000000..45be1bb
--- /dev/null
+++ b/plugins/i18n_subsites/test_data/output/translated-article.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Testing site - A translated article</title>
+ <meta charset="utf-8" />
+ <meta name="generator" content="Pelican" />
+ <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testing site Full Atom Feed" />
+
+<link rel="stylesheet" href="http://example.com/test/theme/style.css" />
+
+
+ <link rel="alternate" hreflang="cz" href="http://example.com/test/cz/translated-article.html">
+ <link rel="alternate" hreflang="de" href="http://example.com/test/de/translated-article.html">
+
+
+
+
+</head>
+
+<body id="index" class="home">
+ <header id="banner" class="body">
+ <h1><a href="http://example.com/test/">Testing site</a></h1>
+ </header><!-- /#banner -->
+ <nav id="menu"><ul>
+ <li><a href="http://example.com/test/pages/untranslated-page.html">Untranslated page</a></li>
+ <li class="active"><a href="http://example.com/test/category/misc.html">misc</a></li>
+ </ul></nav><!-- /#menu -->
+<section id="content" class="body">
+ <header>
+ <h2 class="entry-title">
+ <a href="http://example.com/test/translated-article.html" rel="bookmark"
+ title="Permalink to A translated article">A translated article</a></h2>
+ Translations:
+<a href="http://example.com/test/cz/translated-article.html" hreflang="cz">cz</a>
+<a href="http://example.com/test/de/translated-article.html" hreflang="de">de</a>
+
+ </header>
+ <footer class="post-info">
+ <time class="published" datetime="2014-09-13T00:00:00+00:00">
+ Sat 13 September 2014
+ </time>
+ <address class="vcard author">
+ By <a class="url fn" href="http://example.com/test/author/the-tester.html">The Tester</a>
+ </address>
+ <div class="category">
+ Category: <a href="http://example.com/test/category/misc.html">misc</a>
+ </div>
+ </footer><!-- /.post-info -->
+ <div class="entry-content">
+ <p>A simple article with a translation.
+Here is a link to <a class="reference external" href="http://example.com/test/images/img.png">some image</a>.</p>
+
+ </div><!-- /.entry-content -->
+</section>
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="https://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="https://www.python.org/">Python</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file