Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add new option for controlling whether to display categories on menu …

…or not

Conflicts:
	docs/changelog.rst
	pelican/tests/output/basic/tag/bar.html
	pelican/tests/output/basic/tag/baz.html
	pelican/tests/output/basic/tag/foo.html
	pelican/tests/output/custom/tag/bar.html
	pelican/tests/output/custom/tag/baz.html
	pelican/tests/output/custom/tag/foo.html
  • Loading branch information...
commit e042e11c2357ce77eea867af5dd28f0fe02216d0 1 parent f352066
@davidjb davidjb authored
Showing with 136 additions and 126 deletions.
  1. +2 −0  docs/changelog.rst
  2. +3 −0  docs/settings.rst
  3. +1 −0  pelican/settings.py
  4. +2 −2 pelican/tests/output/basic/a-markdown-powered-article.html
  5. +2 −2 pelican/tests/output/basic/archives.html
  6. +2 −2 pelican/tests/output/basic/article-1.html
  7. +2 −2 pelican/tests/output/basic/article-2.html
  8. +2 −2 pelican/tests/output/basic/article-3.html
  9. +2 −2 pelican/tests/output/basic/author/alexis-metaireau.html
  10. +2 −2 pelican/tests/output/basic/categories.html
  11. +2 −2 pelican/tests/output/basic/category/bar.html
  12. +2 −2 pelican/tests/output/basic/category/cat1.html
  13. +2 −2 pelican/tests/output/basic/category/misc.html
  14. +2 −2 pelican/tests/output/basic/category/yeah.html
  15. +2 −2 pelican/tests/output/basic/filename_metadata-example.html
  16. +2 −2 pelican/tests/output/basic/index.html
  17. +2 −2 pelican/tests/output/basic/oh-yeah.html
  18. +2 −2 pelican/tests/output/basic/override/index.html
  19. +2 −2 pelican/tests/output/basic/pages/this-is-a-test-hidden-page.html
  20. +2 −2 pelican/tests/output/basic/pages/this-is-a-test-page.html
  21. +2 −2 pelican/tests/output/basic/second-article-fr.html
  22. +2 −2 pelican/tests/output/basic/second-article.html
  23. +2 −2 pelican/tests/output/basic/tag/bar.html
  24. +2 −2 pelican/tests/output/basic/tag/baz.html
  25. +2 −2 pelican/tests/output/basic/tag/foo.html
  26. +2 −2 pelican/tests/output/basic/tag/foobar.html
  27. +2 −2 pelican/tests/output/basic/tag/oh.html
  28. +2 −2 pelican/tests/output/basic/tag/yeah.html
  29. +2 −2 pelican/tests/output/basic/this-is-a-super-article.html
  30. +2 −2 pelican/tests/output/basic/unbelievable.html
  31. +2 −2 pelican/tests/output/custom/a-markdown-powered-article.html
  32. +2 −2 pelican/tests/output/custom/archives.html
  33. +2 −2 pelican/tests/output/custom/article-1.html
  34. +2 −2 pelican/tests/output/custom/article-2.html
  35. +2 −2 pelican/tests/output/custom/article-3.html
  36. +2 −2 pelican/tests/output/custom/author/alexis-metaireau.html
  37. +2 −2 pelican/tests/output/custom/author/alexis-metaireau2.html
  38. +2 −2 pelican/tests/output/custom/author/alexis-metaireau3.html
  39. +2 −2 pelican/tests/output/custom/categories.html
  40. +2 −2 pelican/tests/output/custom/category/bar.html
  41. +2 −2 pelican/tests/output/custom/category/cat1.html
  42. +2 −2 pelican/tests/output/custom/category/misc.html
  43. +2 −2 pelican/tests/output/custom/category/yeah.html
  44. +2 −2 pelican/tests/output/custom/drafts/a-draft-article.html
  45. +2 −2 pelican/tests/output/custom/filename_metadata-example.html
  46. +2 −2 pelican/tests/output/custom/index.html
  47. +2 −2 pelican/tests/output/custom/index2.html
  48. +2 −2 pelican/tests/output/custom/index3.html
  49. +2 −2 pelican/tests/output/custom/jinja2_template.html
  50. +2 −2 pelican/tests/output/custom/oh-yeah-fr.html
  51. +2 −2 pelican/tests/output/custom/oh-yeah.html
  52. +2 −2 pelican/tests/output/custom/override/index.html
  53. +2 −2 pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html
  54. +2 −2 pelican/tests/output/custom/pages/this-is-a-test-page.html
  55. +2 −2 pelican/tests/output/custom/second-article-fr.html
  56. +2 −2 pelican/tests/output/custom/second-article.html
  57. +2 −2 pelican/tests/output/custom/tag/bar.html
  58. +2 −2 pelican/tests/output/custom/tag/baz.html
  59. +2 −2 pelican/tests/output/custom/tag/foo.html
  60. +2 −2 pelican/tests/output/custom/tag/foobar.html
  61. +2 −2 pelican/tests/output/custom/tag/oh.html
  62. +2 −2 pelican/tests/output/custom/tag/yeah.html
  63. +2 −2 pelican/tests/output/custom/this-is-a-super-article.html
  64. +2 −2 pelican/tests/output/custom/unbelievable.html
  65. +3 −1 pelican/themes/notmyidea/templates/base.html
  66. +5 −3 pelican/themes/simple/templates/base.html
View
2  docs/changelog.rst
@@ -7,6 +7,8 @@ Release history
* Support for Python 3!
* Ensure exceptions are raised if they take place during processing
with autoreload enabled with debug enabled.
+* Provide ability to show or hide categories from menu using
+ ``DISPLAY_CATEGORIES_ON_MENU`` option.
3.1 (2012-12-04)
================
View
3  docs/settings.rst
@@ -42,6 +42,9 @@ Setting name (default value) What doe
`DISPLAY_PAGES_ON_MENU` (``True``) Whether to display pages on the menu of the
template. Templates may or may not honor this
setting.
+`DISPLAY_CATEGORIES_ON_MENU` (``True``) Whether to display categories on the menu of the
+ template. Templates may or not honor this
+ setting.
`DEFAULT_DATE` (``None``) The default date you want to use.
If ``fs``, Pelican will use the file system
timestamp information (mtime) if it can't get
View
1  pelican/settings.py
@@ -35,6 +35,7 @@
'SITEURL': '',
'SITENAME': 'A Pelican Blog',
'DISPLAY_PAGES_ON_MENU': True,
+ 'DISPLAY_CATEGORIES_ON_MENU': True,
'PDF_GENERATOR': False,
'OUTPUT_SOURCES': False,
'OUTPUT_SOURCES_EXTENSION': '.text',
View
4 pelican/tests/output/basic/a-markdown-powered-article.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/archives.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<h1>Archives for A Pelican Blog</h1>
View
4 pelican/tests/output/basic/article-1.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/article-2.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/article-3.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/author/alexis-metaireau.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/categories.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<ul>
<li><a href="./category/bar.html">bar</a></li>
View
4 pelican/tests/output/basic/category/bar.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li class="active"><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/category/cat1.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li class="active"><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/category/misc.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li class="active"><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/category/yeah.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li class="active"><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/filename_metadata-example.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/index.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/oh-yeah.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li class="active"><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/override/index.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/basic/pages/this-is-a-test-hidden-page.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/basic/pages/this-is-a-test-page.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/basic/second-article-fr.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/second-article.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/tag/bar.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/tag/baz.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/tag/foo.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/tag/foobar.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/tag/oh.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/tag/yeah.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="../">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/bar.html">bar</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/basic/this-is-a-super-article.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li class="active"><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/basic/unbelievable.html
@@ -22,13 +22,13 @@
<header id="banner" class="body">
<h1><a href="./">A Pelican Blog </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/bar.html">bar</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/a-markdown-powered-article.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/archives.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<h1>Archives for Alexis' log</h1>
View
4 pelican/tests/output/custom/article-1.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/article-2.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/article-3.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li class="active"><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/author/alexis-metaireau.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/author/alexis-metaireau2.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/author/alexis-metaireau3.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/categories.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<ul>
<li><a href="./category/yeah.html">yeah</a></li>
View
4 pelican/tests/output/custom/category/bar.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li class="active"><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/category/cat1.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li class="active"><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/category/misc.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li class="active"><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/category/yeah.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li class="active"><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/drafts/a-draft-article.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li class="active"><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/filename_metadata-example.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/index.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/index2.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/index3.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/jinja2_template.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
Some text
View
4 pelican/tests/output/custom/oh-yeah-fr.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/oh-yeah.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li class="active"><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/override/index.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/custom/pages/this-is-a-test-hidden-page.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/custom/pages/this-is-a-test-page.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
View
4 pelican/tests/output/custom/second-article-fr.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/second-article.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/tag/bar.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/tag/baz.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/tag/foo.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/tag/foobar.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/tag/oh.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/tag/yeah.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="../">Alexis' log </a></h1>
<nav><ul>
- <li><a href="../override/">Override url/save_as</a></li>
+ <li><a href="../override/">Override url/save_as</a></li>
<li><a href="../pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="../category/yeah.html">yeah</a></li>
<li ><a href="../category/misc.html">misc</a></li>
<li ><a href="../category/cat1.html">cat1</a></li>
<li ><a href="../category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
View
4 pelican/tests/output/custom/this-is-a-super-article.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li class="active"><a href="./category/yeah.html">yeah</a></li>
<li ><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/tests/output/custom/unbelievable.html
@@ -26,13 +26,13 @@
<header id="banner" class="body">
<h1><a href="./">Alexis' log </a></h1>
<nav><ul>
- <li><a href="./override/">Override url/save_as</a></li>
+ <li><a href="./override/">Override url/save_as</a></li>
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
<li ><a href="./category/yeah.html">yeah</a></li>
<li class="active"><a href="./category/misc.html">misc</a></li>
<li ><a href="./category/cat1.html">cat1</a></li>
<li ><a href="./category/bar.html">bar</a></li>
- </ul></nav>
+ </ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
View
4 pelican/themes/notmyidea/templates/base.html
@@ -31,14 +31,16 @@
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
- {% if DISPLAY_PAGES_ON_MENU %}
+ {% if DISPLAY_PAGES_ON_MENU -%}
{% for page in PAGES %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
{% endif %}
+ {% if DISPLAY_CATEGORIES_ON_MENU -%}
{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
+ {% endif %}
</ul></nav>
</header><!-- /#banner -->
{% block content %}
View
8 pelican/themes/simple/templates/base.html
@@ -44,9 +44,11 @@
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% else %}
- {% for cat, null in categories %}
- <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
- {% endfor %}
+ {% if DISPLAY_CATEGORIES_ON_MENU %}
+ {% for cat, null in categories %}
+ <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
+ {% endfor %}
+ {% endif %}
{% endif %}
</ul></nav><!-- /#menu -->
{% block content %}
Please sign in to comment.
Something went wrong with that request. Please try again.