prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Fixing some warnings and errors in the sample content.
  The current sample content is not up-to-date with the current Pelican mechanism.
  
  This will help new comers to understand better how Pelican works.
  
  * More valid articles.
  * More translations.
  * Images are now correctly displayed.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `samples/pelican.conf.py`
  Content:
  ```
  1 # -*- coding: utf-8 -*-
  2 
  3 AUTHOR = 'Alexis Métaireau'
  4 SITENAME = "Alexis' log"
  5 SITESUBTITLE = 'A personal blog.'
  6 SITEURL = 'http://blog.notmyidea.org'
  7 TIMEZONE = "Europe/Paris"
  8 
  9 # can be useful in development, but set to False when you're ready to publish
  10 RELATIVE_URLS = True
  11 
  12 GITHUB_URL = 'http://github.com/ametaireau/'
  13 DISQUS_SITENAME = "blog-notmyidea"
  14 REVERSE_CATEGORY_ORDER = True
  15 LOCALE = "C"
  16 DEFAULT_PAGINATION = 4
  17 DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
  18 
  19 FEED_ALL_RSS = 'feeds/all.rss.xml'
  20 CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'
  21 
  22 LINKS = (('Biologeek', 'http://biologeek.org'),
  23          ('Filyb', "http://filyb.info/"),
  24          ('Libert-fr', "http://www.libert-fr.com"),
  25          ('N1k0', "http://prendreuncafe.com/blog/"),
  26          ('Tarek Ziadé', "http://ziade.org/blog"),
  27          ('Zubin Mithra', "http://zubin71.wordpress.com/"),)
  28 
  29 SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
  30           ('lastfm', 'http://lastfm.com/user/akounet'),
  31           ('github', 'http://github.com/ametaireau'),)
  32 
  33 # global metadata to all the contents
  34 DEFAULT_METADATA = {'yeah': 'it is'}
  35 
  36 # path-specific metadata
  37 EXTRA_PATH_METADATA = {
  38     'extra/robots.txt': {'path': 'robots.txt'},
  39     }
  40 
  41 # static paths will be copied without parsing their contents
  42 STATIC_PATHS = [
  43     'pictures',
  44     'extra/robots.txt',
  45     ]
  46 
  47 # custom page generated with a jinja2 template
  48 TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
  49 
  50 # code blocks with line numbers
  51 PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
  52 
  53 # foobar will not be used, because it's not in caps. All configuration keys
  54 # have to be in caps
  55 foobar = "barbaz"
  56
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py
  --- a/samples/pelican.conf.py
  +++ b/samples/pelican.conf.py
  @@ -40,13 +40,16 @@
   
   # 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'}
  
verification_info: {"golden_diff": "diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py\n--- a/samples/pelican.conf.py\n+++ b/samples/pelican.conf.py\n@@ -40,13 +40,16 @@\n \n # static paths will be copied without parsing their contents\n STATIC_PATHS = [\n-    'pictures',\n+    'images',\n     'extra/robots.txt',\n     ]\n \n # custom page generated with a jinja2 template\n TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}\n \n+# there is no other HTML content\n+READERS = {'html': None}\n+\n # code blocks with line numbers\n PYGMENTS_RST_OPTIONS = {'linenos': 'table'}\n", "issue": "Fixing some warnings and errors in the sample content.\nThe current sample content is not up-to-date with the current Pelican mechanism.\r\n\r\nThis will help new comers to understand better how Pelican works.\r\n\r\n* More valid articles.\r\n* More translations.\r\n* Images are now correctly displayed.\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nAUTHOR = 'Alexis M\u00e9taireau'\nSITENAME = \"Alexis' log\"\nSITESUBTITLE = 'A personal blog.'\nSITEURL = 'http://blog.notmyidea.org'\nTIMEZONE = \"Europe/Paris\"\n\n# can be useful in development, but set to False when you're ready to publish\nRELATIVE_URLS = True\n\nGITHUB_URL = 'http://github.com/ametaireau/'\nDISQUS_SITENAME = \"blog-notmyidea\"\nREVERSE_CATEGORY_ORDER = True\nLOCALE = \"C\"\nDEFAULT_PAGINATION = 4\nDEFAULT_DATE = (2012, 3, 2, 14, 1, 1)\n\nFEED_ALL_RSS = 'feeds/all.rss.xml'\nCATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'\n\nLINKS = (('Biologeek', 'http://biologeek.org'),\n         ('Filyb', \"http://filyb.info/\"),\n         ('Libert-fr', \"http://www.libert-fr.com\"),\n         ('N1k0', \"http://prendreuncafe.com/blog/\"),\n         ('Tarek Ziad\u00e9', \"http://ziade.org/blog\"),\n         ('Zubin Mithra', \"http://zubin71.wordpress.com/\"),)\n\nSOCIAL = (('twitter', 'http://twitter.com/ametaireau'),\n          ('lastfm', 'http://lastfm.com/user/akounet'),\n          ('github', 'http://github.com/ametaireau'),)\n\n# global metadata to all the contents\nDEFAULT_METADATA = {'yeah': 'it is'}\n\n# path-specific metadata\nEXTRA_PATH_METADATA = {\n    'extra/robots.txt': {'path': 'robots.txt'},\n    }\n\n# static paths will be copied without parsing their contents\nSTATIC_PATHS = [\n    'pictures',\n    'extra/robots.txt',\n    ]\n\n# custom page generated with a jinja2 template\nTEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}\n\n# code blocks with line numbers\nPYGMENTS_RST_OPTIONS = {'linenos': 'table'}\n\n# foobar will not be used, because it's not in caps. All configuration keys\n# have to be in caps\nfoobar = \"barbaz\"\n", "path": "samples/pelican.conf.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n\nAUTHOR = 'Alexis M\u00e9taireau'\nSITENAME = \"Alexis' log\"\nSITESUBTITLE = 'A personal blog.'\nSITEURL = 'http://blog.notmyidea.org'\nTIMEZONE = \"Europe/Paris\"\n\n# can be useful in development, but set to False when you're ready to publish\nRELATIVE_URLS = True\n\nGITHUB_URL = 'http://github.com/ametaireau/'\nDISQUS_SITENAME = \"blog-notmyidea\"\nREVERSE_CATEGORY_ORDER = True\nLOCALE = \"C\"\nDEFAULT_PAGINATION = 4\nDEFAULT_DATE = (2012, 3, 2, 14, 1, 1)\n\nFEED_ALL_RSS = 'feeds/all.rss.xml'\nCATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'\n\nLINKS = (('Biologeek', 'http://biologeek.org'),\n         ('Filyb', \"http://filyb.info/\"),\n         ('Libert-fr', \"http://www.libert-fr.com\"),\n         ('N1k0', \"http://prendreuncafe.com/blog/\"),\n         ('Tarek Ziad\u00e9', \"http://ziade.org/blog\"),\n         ('Zubin Mithra', \"http://zubin71.wordpress.com/\"),)\n\nSOCIAL = (('twitter', 'http://twitter.com/ametaireau'),\n          ('lastfm', 'http://lastfm.com/user/akounet'),\n          ('github', 'http://github.com/ametaireau'),)\n\n# global metadata to all the contents\nDEFAULT_METADATA = {'yeah': 'it is'}\n\n# path-specific metadata\nEXTRA_PATH_METADATA = {\n    'extra/robots.txt': {'path': 'robots.txt'},\n    }\n\n# static paths will be copied without parsing their contents\nSTATIC_PATHS = [\n    'images',\n    'extra/robots.txt',\n    ]\n\n# custom page generated with a jinja2 template\nTEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}\n\n# there is no other HTML content\nREADERS = {'html': None}\n\n# code blocks with line numbers\nPYGMENTS_RST_OPTIONS = {'linenos': 'table'}\n\n# foobar will not be used, because it's not in caps. All configuration keys\n# have to be in caps\nfoobar = \"barbaz\"\n", "path": "samples/pelican.conf.py"}]}