1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tests
Elana Hashman 22bc56ddf1 Fixes #1068, #1572: template page navigation bugs
Updates the template logic for when page navigation is included in the
generated HTML in the notmyidea theme, fixing:

* Issue #1068: useless pagination controls should not be displayed when a
  single page is generated (i.e. "Page 1/1"). New logic prevents the
  generation of these superfluous page navigation controls. Tests updated
  accordingly.

* Issue #1572: when multiple pages are generated and the last page contains
  only one item, the closing </ol> and </section> tags are not generated,
  resulting in page breakage. We need to check if
  articles_page.has_other_pages(); if it does, a list has been generated per
  line 19 or 25 and the tags must be closed.
2015-06-21 13:24:49 -06:00
..
content Support semicolon-separated author/tag lists. 2015-06-04 17:31:20 -04:00
mixed_content Make StaticGenerator skip content sources. Refs #1019. 2014-10-31 16:46:01 -07:00
nested_content/maindir Make PAGE_EXCLUDES work with subdirs. Fixes #1500. 2014-11-01 17:38:20 -07:00
output Fixes #1068, #1572: template page navigation bugs 2015-06-21 13:24:49 -06:00
TestPages Generate {tag}-style links on pages correctly. Fixes #1513 2015-01-02 01:20:57 -07:00
__init__.py Fix for issue #392 2013-03-27 18:17:11 -04:00
default_conf.py Format custom metadata fields listed in the FORMATTED_FIELDS setting. 2015-02-24 16:57:05 -05:00
support.py minor spelling fixes 2014-09-15 20:29:00 -04:00
test_cache.py set default for caching to false 2015-06-08 09:35:00 +02:00
test_contents.py fix outdated content_object_init refs 2015-06-12 19:23:17 +02:00
test_generators.py Fix #1647: Fix ARTICLE_ORDER_BY and add the ability to reverse order 2015-06-12 18:14:54 -04:00
test_importer.py add skips for tests relying on dev_requirements modules 2015-04-11 22:45:31 +02:00
test_paginator.py Make sure Content uses URLWrappers 2015-03-06 16:06:20 -05:00
test_pelican.py Remove unused modules/variables from tests 2015-02-17 18:25:44 -08:00
test_readers.py Support semicolon-separated author/tag lists. 2015-06-04 17:31:20 -04:00
test_rstdirectives.py add skips for tests relying on dev_requirements modules 2015-04-11 22:45:31 +02:00
test_settings.py Merge pull request #1530 from Sethathi/settings_unit_tests 2015-05-21 10:10:37 +02:00
test_utils.py improve result output of a pelican run 2015-06-03 08:58:59 +02:00