From f4303608eed897fd8a346121b99f2d094f17625b Mon Sep 17 00:00:00 2001 From: Marc-Alexandre Espiaut Date: Wed, 4 Jul 2018 10:46:05 +0200 Subject: [PATCH] Fixing some warnings and errors in the sample content. Images are now correctly displayed. --- samples/content/another_super_article-fr.rst | 1 + samples/content/another_super_article.rst | 3 ++- samples/content/draft_article.rst | 1 + samples/content/extra/robots.txt | 2 +- samples/content/{pictures => images}/Fat_Cat.jpg | Bin samples/content/{pictures => images}/Sushi.jpg | Bin .../content/{pictures => images}/Sushi_Macro.jpg | Bin samples/content/pages/test_page.rst | 2 +- samples/content/super_article.rst | 4 ++-- 9 files changed, 8 insertions(+), 5 deletions(-) rename samples/content/{pictures => images}/Fat_Cat.jpg (100%) rename samples/content/{pictures => images}/Sushi.jpg (100%) rename samples/content/{pictures => images}/Sushi_Macro.jpg (100%) 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 e6e0a92c..b7533d95 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 @@ -14,7 +15,7 @@ Why not ? After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! YEAH ! -.. image:: |filename|/pictures/Sushi.jpg +.. image:: |filename|/images/Sushi.jpg :height: 450 px :width: 600 px :alt: alternate text 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/extra/robots.txt b/samples/content/extra/robots.txt index 19a6e299..92d42333 100644 --- a/samples/content/extra/robots.txt +++ b/samples/content/extra/robots.txt @@ -1,2 +1,2 @@ User-agent: * -Disallow: /pictures +Disallow: /images diff --git a/samples/content/pictures/Fat_Cat.jpg b/samples/content/images/Fat_Cat.jpg similarity index 100% rename from samples/content/pictures/Fat_Cat.jpg rename to samples/content/images/Fat_Cat.jpg diff --git a/samples/content/pictures/Sushi.jpg b/samples/content/images/Sushi.jpg similarity index 100% rename from samples/content/pictures/Sushi.jpg rename to samples/content/images/Sushi.jpg diff --git a/samples/content/pictures/Sushi_Macro.jpg b/samples/content/images/Sushi_Macro.jpg similarity index 100% rename from samples/content/pictures/Sushi_Macro.jpg rename to samples/content/images/Sushi_Macro.jpg diff --git a/samples/content/pages/test_page.rst b/samples/content/pages/test_page.rst index 2285f17b..23e9b08f 100644 --- a/samples/content/pages/test_page.rst +++ b/samples/content/pages/test_page.rst @@ -5,7 +5,7 @@ This is a test page Just an image. -.. image:: |filename|/pictures/Fat_Cat.jpg +.. image:: |filename|/images/Fat_Cat.jpg :height: 450 px :width: 600 px :alt: alternate text diff --git a/samples/content/super_article.rst b/samples/content/super_article.rst index a96176a1..65f9c9b2 100644 --- a/samples/content/super_article.rst +++ b/samples/content/super_article.rst @@ -17,12 +17,12 @@ This is a simple title And here comes the cool stuff_. -.. image:: |filename|/pictures/Sushi.jpg +.. image:: |filename|/images/Sushi.jpg :height: 450 px :width: 600 px :alt: alternate text -.. image:: |filename|/pictures/Sushi_Macro.jpg +.. image:: |filename|/images/Sushi_Macro.jpg :height: 450 px :width: 600 px :alt: alternate text