After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
diff --git a/pelican/tests/output/basic/drafts/a-draft-article.html b/pelican/tests/output/basic/drafts/a-draft-article.html
index 12860d7b..3e6ed5f0 100644
--- a/pelican/tests/output/basic/drafts/a-draft-article.html
+++ b/pelican/tests/output/basic/drafts/a-draft-article.html
@@ -31,8 +31,8 @@
-
- Published:
+
+ Published: Sun 08 May 2011
In misc .
diff --git a/pelican/tests/output/basic/feeds/all-fr.atom.xml b/pelican/tests/output/basic/feeds/all-fr.atom.xml
index cf64e4ad..4ecf7534 100644
--- a/pelican/tests/output/basic/feeds/all-fr.atom.xml
+++ b/pelican/tests/output/basic/feeds/all-fr.atom.xml
@@ -1,3 +1,4 @@
A Pelican Blog / 2012-02-29T00:00:00+00:00 Deuxième article 2012-02-29T00:00:00+00:00 2012-02-29T00:00:00+00:00 tag:None,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
-
\ No newline at end of file
+Trop bien ! 2010-10-20T10:14:00+00:00 2010-10-20T10:14:00+00:00 tag:None,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+
\ No newline at end of file
diff --git a/pelican/tests/output/basic/feeds/all.atom.xml b/pelican/tests/output/basic/feeds/all.atom.xml
index f69c8bb4..7407d2ff 100644
--- a/pelican/tests/output/basic/feeds/all.atom.xml
+++ b/pelican/tests/output/basic/feeds/all.atom.xml
@@ -27,7 +27,8 @@ as well as <strong>inline markup</strong>.</p>
YEAH !</p>
<img alt="alternate text" src="/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
-Unbelievable ! 2010-10-15T20:30:00+00:00 2010-10-15T20:30:00+00:00 tag:None,2010-10-15:/unbelievable.html <p>Or completely awesome. Depends the needs.</p>
+ Trop bien ! 2010-10-20T10:14:00+00:00 2010-10-20T10:14:00+00:00 tag:None,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+ Unbelievable ! 2010-10-15T20:30:00+00:00 2010-10-15T20:30:00+00:00 tag:None,2010-10-15:/unbelievable.html <p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
diff --git a/pelican/tests/output/basic/index.html b/pelican/tests/output/basic/index.html
index f2442bed..f215dc44 100644
--- a/pelican/tests/output/basic/index.html
+++ b/pelican/tests/output/basic/index.html
@@ -187,7 +187,9 @@ as well as inline markup .
By Alexis Métaireau
In bar .
-tags: oh bar yeah
+tags: oh bar yeah
Translations:
+ fr
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
diff --git a/pelican/tests/output/basic/oh-yeah-fr.html b/pelican/tests/output/basic/oh-yeah-fr.html
new file mode 100644
index 00000000..e605ac2e
--- /dev/null
+++ b/pelican/tests/output/basic/oh-yeah-fr.html
@@ -0,0 +1,69 @@
+
+
+
+
+
+
Trop bien !
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Published: Wed 20 October 2010
+
+
+In misc .
+Translations:
+ en
+
+ Et voila du contenu en français
+
+
+
+
+
+
+
+
+
+ Proudly powered by Pelican , which takes great advantage of Python .
+
+
+ The theme is by Smashing Magazine , thanks!
+
+
+
+
\ No newline at end of file
diff --git a/pelican/tests/output/basic/oh-yeah.html b/pelican/tests/output/basic/oh-yeah.html
index d6c661fd..d01a631e 100644
--- a/pelican/tests/output/basic/oh-yeah.html
+++ b/pelican/tests/output/basic/oh-yeah.html
@@ -6,6 +6,8 @@
Oh yeah !
+
+
@@ -39,7 +41,9 @@
By
Alexis Métaireau
In bar .
-
tags: oh bar yeah
+
tags: oh bar yeah
Translations:
+
fr
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
diff --git a/pelican/tests/output/basic/pages/this-is-a-test-page.html b/pelican/tests/output/basic/pages/this-is-a-test-page.html
index e6047f56..3970e3ff 100644
--- a/pelican/tests/output/basic/pages/this-is-a-test-page.html
+++ b/pelican/tests/output/basic/pages/this-is-a-test-page.html
@@ -25,7 +25,8 @@
This is a test page
Just an image.
-
+
+
diff --git a/pelican/tests/output/basic/pictures/Fat_Cat.jpg b/pelican/tests/output/basic/pictures/Fat_Cat.jpg
new file mode 100644
index 00000000..d8a96d35
Binary files /dev/null and b/pelican/tests/output/basic/pictures/Fat_Cat.jpg differ
diff --git a/pelican/tests/output/basic/tag/bar.html b/pelican/tests/output/basic/tag/bar.html
index 384841f2..ead02cd8 100644
--- a/pelican/tests/output/basic/tag/bar.html
+++ b/pelican/tests/output/basic/tag/bar.html
@@ -86,7 +86,9 @@ as well as inline markup .
By Alexis Métaireau
In bar .
-tags: oh bar yeah
+tags: oh bar yeah
Translations:
+ fr
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
diff --git a/pelican/tests/output/basic/tag/yeah.html b/pelican/tests/output/basic/tag/yeah.html
index 396bf076..88660359 100644
--- a/pelican/tests/output/basic/tag/yeah.html
+++ b/pelican/tests/output/basic/tag/yeah.html
@@ -34,7 +34,9 @@
By Alexis Métaireau
In bar .
-
tags: oh bar yeah
+
tags: oh bar yeah
Translations:
+
fr
+
Why not ?
After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
diff --git a/pelican/tests/output/custom/drafts/a-draft-article.html b/pelican/tests/output/custom/drafts/a-draft-article.html
index 259e2624..3316df7c 100644
--- a/pelican/tests/output/custom/drafts/a-draft-article.html
+++ b/pelican/tests/output/custom/drafts/a-draft-article.html
@@ -35,8 +35,8 @@
-
- Published: Fri 02 March 2012
+
+ Published: Sun 08 May 2011
diff --git a/pelican/tests/output/custom/feeds/all-fr.atom.xml b/pelican/tests/output/custom/feeds/all-fr.atom.xml
index f380cd04..39565ca6 100644
--- a/pelican/tests/output/custom/feeds/all-fr.atom.xml
+++ b/pelican/tests/output/custom/feeds/all-fr.atom.xml
@@ -1,4 +1,4 @@
-Alexis' log http://blog.notmyidea.org/ 2012-03-02T14:01:01+01:00 A personal blog. Trop bien ! 2012-03-02T14:01:01+01:00 2012-03-02T14:01:01+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
- Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
-
\ No newline at end of file
+Alexis' log http://blog.notmyidea.org/ 2012-02-29T00:00:00+01:00 A personal blog. Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
+ Trop bien ! 2010-10-20T10:14:00+02:00 2010-10-20T10:14:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+
\ No newline at end of file
diff --git a/pelican/tests/output/custom/feeds/all.atom.xml b/pelican/tests/output/custom/feeds/all.atom.xml
index 5d5d5461..cf214c5a 100644
--- a/pelican/tests/output/custom/feeds/all.atom.xml
+++ b/pelican/tests/output/custom/feeds/all.atom.xml
@@ -1,6 +1,5 @@
Alexis' log http://blog.notmyidea.org/ 2013-11-17T23:29:00+01:00 A personal blog. FILENAME_METADATA example 2012-11-30T00:00:00+01:00 2012-11-30T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-11-30:/filename_metadata-example.html <p>Some cool stuff!</p>
- Trop bien ! 2012-03-02T14:01:01+01:00 2012-03-02T14:01:01+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
Second article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article.html <p>This is some article, in english</p>
Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
A markdown powered article 2011-04-20T00:00:00+02:00 2011-04-20T00:00:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2011-04-20:/a-markdown-powered-article.html <p>You're mutually oblivious.</p>
@@ -28,7 +27,8 @@ as well as <strong>inline markup</strong>.</p>
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
- Unbelievable ! 2010-10-15T20:30:00+02:00 2010-10-15T20:30:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-15:/unbelievable.html <p>Or completely awesome. Depends the needs.</p>
+ Trop bien ! 2010-10-20T10:14:00+02:00 2010-10-20T10:14:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+ Unbelievable ! 2010-10-15T20:30:00+02:00 2010-10-15T20:30:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-15:/unbelievable.html <p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
diff --git a/pelican/tests/output/custom/feeds/all.rss.xml b/pelican/tests/output/custom/feeds/all.rss.xml
index 37285af5..479f67ba 100644
--- a/pelican/tests/output/custom/feeds/all.rss.xml
+++ b/pelican/tests/output/custom/feeds/all.rss.xml
@@ -1,7 +1,6 @@
Alexis' log http://blog.notmyidea.org/A personal blog. Sun, 17 Nov 2013 23:29:00 +0100 FILENAME_METADATA example http://blog.notmyidea.org/filename_metadata-example.html<p>Some cool stuff!</p>
- Alexis Métaireau Fri, 30 Nov 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-11-30:/filename_metadata-example.html misc Trop bien ! http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
- Alexis Métaireau Fri, 02 Mar 2012 14:01:01 +0100 tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html misc Second article http://blog.notmyidea.org/second-article.html<p>This is some article, in english</p>
+ Alexis Métaireau Fri, 30 Nov 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-11-30:/filename_metadata-example.html misc Second article http://blog.notmyidea.org/second-article.html<p>This is some article, in english</p>
Alexis Métaireau Wed, 29 Feb 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-02-29:/second-article.html misc foo bar baz Deuxième article http://blog.notmyidea.org/second-article-fr.html<p>Ceci est un article, en français.</p>
Alexis Métaireau Wed, 29 Feb 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html misc foo bar baz A markdown powered article http://blog.notmyidea.org/a-markdown-powered-article.html<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/unbelievable.html">a root-relative link to unbelievable</a>
@@ -16,7 +15,8 @@ as well as <strong>inline markup</strong>.</p>
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
- Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/oh-yeah.html bar oh bar yeah Unbelievable ! http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
+ Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/oh-yeah.html bar oh bar yeah Trop bien ! http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
+ Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html misc Unbelievable ! http://blog.notmyidea.org/unbelievable.html<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/a-markdown-powered-article.html">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
diff --git a/pelican/tests/output/custom/oh-yeah-fr.html b/pelican/tests/output/custom/oh-yeah-fr.html
index b49234f2..b5504212 100644
--- a/pelican/tests/output/custom/oh-yeah-fr.html
+++ b/pelican/tests/output/custom/oh-yeah-fr.html
@@ -37,8 +37,8 @@
-
- Published: Fri 02 March 2012
+
+ Published: Wed 20 October 2010
diff --git a/pelican/tests/output/custom/pages/this-is-a-test-page.html b/pelican/tests/output/custom/pages/this-is-a-test-page.html
index 88675d58..26c6c0e9 100644
--- a/pelican/tests/output/custom/pages/this-is-a-test-page.html
+++ b/pelican/tests/output/custom/pages/this-is-a-test-page.html
@@ -30,6 +30,7 @@
Just an image.
+
diff --git a/pelican/tests/output/custom_locale/drafts/a-draft-article.html b/pelican/tests/output/custom_locale/drafts/a-draft-article.html
index 82015a81..1a7e9427 100644
--- a/pelican/tests/output/custom_locale/drafts/a-draft-article.html
+++ b/pelican/tests/output/custom_locale/drafts/a-draft-article.html
@@ -35,8 +35,8 @@
-
- Published: 02 mars 2012
+
+ Published: 08 mai 2011
diff --git a/pelican/tests/output/custom_locale/feeds/all-fr.atom.xml b/pelican/tests/output/custom_locale/feeds/all-fr.atom.xml
index 2bf92b1f..cfd6eeb2 100644
--- a/pelican/tests/output/custom_locale/feeds/all-fr.atom.xml
+++ b/pelican/tests/output/custom_locale/feeds/all-fr.atom.xml
@@ -1,4 +1,4 @@
-Alexis' log http://blog.notmyidea.org/ 2012-03-02T14:01:01+01:00 Trop bien ! 2012-03-02T14:01:01+01:00 2012-03-02T14:01:01+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
- Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
-
\ No newline at end of file
+Alexis' log http://blog.notmyidea.org/ 2012-02-29T00:00:00+01:00 Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
+ Trop bien ! 2010-10-20T10:14:00+02:00 2010-10-20T10:14:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+
\ No newline at end of file
diff --git a/pelican/tests/output/custom_locale/feeds/all.atom.xml b/pelican/tests/output/custom_locale/feeds/all.atom.xml
index 9d2ea4be..67a57122 100644
--- a/pelican/tests/output/custom_locale/feeds/all.atom.xml
+++ b/pelican/tests/output/custom_locale/feeds/all.atom.xml
@@ -1,6 +1,5 @@
Alexis' log http://blog.notmyidea.org/ 2013-11-17T23:29:00+01:00 FILENAME_METADATA example 2012-11-30T00:00:00+01:00 2012-11-30T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-11-30:/posts/2012/novembre/30/filename_metadata-example/ <p>Some cool stuff!</p>
- Trop bien ! 2012-03-02T14:01:01+01:00 2012-03-02T14:01:01+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
Second article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/posts/2012/février/29/second-article/ <p>This is some article, in english</p>
Deuxième article 2012-02-29T00:00:00+01:00 2012-02-29T00:00:00+01:00 Alexis Métaireau tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html <p>Ceci est un article, en français.</p>
A markdown powered article 2011-04-20T00:00:00+02:00 2011-04-20T00:00:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2011-04-20:/posts/2011/avril/20/a-markdown-powered-article/ <p>You're mutually oblivious.</p>
@@ -28,7 +27,8 @@ as well as <strong>inline markup</strong>.</p>
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
- Unbelievable ! 2010-10-15T20:30:00+02:00 2010-10-15T20:30:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-15:/posts/2010/octobre/15/unbelievable/ <p>Or completely awesome. Depends the needs.</p>
+ Trop bien ! 2010-10-20T10:14:00+02:00 2010-10-20T10:14:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html <p>Et voila du contenu en français</p>
+ Unbelievable ! 2010-10-15T20:30:00+02:00 2010-10-15T20:30:00+02:00 Alexis Métaireau tag:blog.notmyidea.org,2010-10-15:/posts/2010/octobre/15/unbelievable/ <p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/posts/2011/avril/20/a-markdown-powered-article/">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/posts/2011/avril/20/a-markdown-powered-article/">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
diff --git a/pelican/tests/output/custom_locale/feeds/all.rss.xml b/pelican/tests/output/custom_locale/feeds/all.rss.xml
index 2fac2b5d..8e7dd649 100644
--- a/pelican/tests/output/custom_locale/feeds/all.rss.xml
+++ b/pelican/tests/output/custom_locale/feeds/all.rss.xml
@@ -1,7 +1,6 @@
Alexis' log http://blog.notmyidea.org/Sun, 17 Nov 2013 23:29:00 +0100 FILENAME_METADATA example http://blog.notmyidea.org/posts/2012/novembre/30/filename_metadata-example/<p>Some cool stuff!</p>
- Alexis Métaireau Fri, 30 Nov 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-11-30:/posts/2012/novembre/30/filename_metadata-example/ misc Trop bien ! http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
- Alexis Métaireau Fri, 02 Mar 2012 14:01:01 +0100 tag:blog.notmyidea.org,2012-03-02:/oh-yeah-fr.html misc Second article http://blog.notmyidea.org/posts/2012/f%C3%A9vrier/29/second-article/<p>This is some article, in english</p>
+ Alexis Métaireau Fri, 30 Nov 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-11-30:/posts/2012/novembre/30/filename_metadata-example/ misc Second article http://blog.notmyidea.org/posts/2012/f%C3%A9vrier/29/second-article/<p>This is some article, in english</p>
Alexis Métaireau Wed, 29 Feb 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-02-29:/posts/2012/février/29/second-article/ misc foo bar baz Deuxième article http://blog.notmyidea.org/second-article-fr.html<p>Ceci est un article, en français.</p>
Alexis Métaireau Wed, 29 Feb 2012 00:00:00 +0100 tag:blog.notmyidea.org,2012-02-29:/second-article-fr.html misc foo bar baz A markdown powered article http://blog.notmyidea.org/posts/2011/avril/20/a-markdown-powered-article/<p>You're mutually oblivious.</p>
<p><a href="http://blog.notmyidea.org/posts/2010/octobre/15/unbelievable/">a root-relative link to unbelievable</a>
@@ -16,7 +15,8 @@ as well as <strong>inline markup</strong>.</p>
YEAH !</p>
<img alt="alternate text" src="http://blog.notmyidea.org/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
</div>
- Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/posts/2010/octobre/20/oh-yeah/ bar oh bar yeah Unbelievable ! http://blog.notmyidea.org/posts/2010/octobre/15/unbelievable/<p>Or completely awesome. Depends the needs.</p>
+ Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/posts/2010/octobre/20/oh-yeah/ bar oh bar yeah Trop bien ! http://blog.notmyidea.org/oh-yeah-fr.html<p>Et voila du contenu en français</p>
+ Alexis Métaireau Wed, 20 Oct 2010 10:14:00 +0200 tag:blog.notmyidea.org,2010-10-20:/oh-yeah-fr.html misc Unbelievable ! http://blog.notmyidea.org/posts/2010/octobre/15/unbelievable/<p>Or completely awesome. Depends the needs.</p>
<p><a class="reference external" href="http://blog.notmyidea.org/posts/2011/avril/20/a-markdown-powered-article/">a root-relative link to markdown-article</a>
<a class="reference external" href="http://blog.notmyidea.org/posts/2011/avril/20/a-markdown-powered-article/">a file-relative link to markdown-article</a></p>
<div class="section" id="testing-sourcecode-directive">
diff --git a/pelican/tests/output/custom_locale/oh-yeah-fr.html b/pelican/tests/output/custom_locale/oh-yeah-fr.html
index 44c57ebd..01188766 100644
--- a/pelican/tests/output/custom_locale/oh-yeah-fr.html
+++ b/pelican/tests/output/custom_locale/oh-yeah-fr.html
@@ -37,8 +37,8 @@
-
- Published: 02 mars 2012
+
+ Published: 20 octobre 2010
diff --git a/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html b/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
index 1be5c115..eb779355 100644
--- a/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
+++ b/pelican/tests/output/custom_locale/pages/this-is-a-test-page.html
@@ -30,6 +30,7 @@
Just an image.
+
diff --git a/samples/content/another_super_article-fr.rst b/samples/content/another_super_article-fr.rst
index 71ac9635..dcd252a7 100644
--- a/samples/content/another_super_article-fr.rst
+++ b/samples/content/another_super_article-fr.rst
@@ -1,6 +1,7 @@
Trop bien !
###########
+:date: 2010-10-20 10:14
:lang: fr
:slug: oh-yeah
diff --git a/samples/content/another_super_article.rst b/samples/content/another_super_article.rst
index 37727116..a170c4a1 100644
--- a/samples/content/another_super_article.rst
+++ b/samples/content/another_super_article.rst
@@ -5,6 +5,7 @@ Oh yeah !
:date: 2010-10-20 10:14
:category: bar
:author: Alexis Métaireau
+:lang: en
:slug: oh-yeah
:license: WTFPL
diff --git a/samples/content/draft_article.rst b/samples/content/draft_article.rst
index 76ce9a16..6b383ca6 100644
--- a/samples/content/draft_article.rst
+++ b/samples/content/draft_article.rst
@@ -1,6 +1,7 @@
A draft article
###############
+:date: 2011-05-08 15:58
:status: draft
This is a draft article, it should live under the /drafts/ folder and not be
diff --git a/samples/content/pages/test_page.rst b/samples/content/pages/test_page.rst
index 2285f17b..3747faed 100644
--- a/samples/content/pages/test_page.rst
+++ b/samples/content/pages/test_page.rst
@@ -5,8 +5,12 @@ This is a test page
Just an image.
-.. image:: |filename|/pictures/Fat_Cat.jpg
+.. image:: {static}/pictures/Fat_Cat.jpg
:height: 450 px
:width: 600 px
:alt: alternate text
+.. image:: |filename|/images/Fat_Cat.jpg
+ :height: 450 px
+ :width: 600 px
+ :alt: wrong path since 'images' folder does not exist
diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py
index 861c1f53..2b99ef5b 100755
--- a/samples/pelican.conf.py
+++ b/samples/pelican.conf.py
@@ -40,13 +40,16 @@ EXTRA_PATH_METADATA = {
# static paths will be copied without parsing their contents
STATIC_PATHS = [
- 'pictures',
+ 'images',
'extra/robots.txt',
]
# custom page generated with a jinja2 template
TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
+# there is no other HTML content
+READERS = {'html': None}
+
# code blocks with line numbers
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}