zola/test_site
yanghuidong b9296f7985
Make current_path always start with a slash (#1101)
* Make {section, page}.path always start with a slash

Change tests accordingly

* Fix missing leading/trailing slash in current_path of Taxonomy ("tags") and TaxonomyItem ("some-tag")

* Make {Paginator, Pager}.path always start with a slash

Fix Paginator.path missing trailing slash in from_taxonomy()

Change tests accordingly

* Update documentation regarding current_path now always starting with a slash

* Fix asymptomatic inverted logic in filter() for {section, page}.assets

* Add to 3 integration tests several checks for current_path in different templates

* Add a check for current_path in a paginated index section, "/page/2/"

This requires adding two dummy pages in the content root.

* Fix false passing of test on paginator.last due to URL prefix matching

A string formatting such as {name: value} can help prevent this.
2020-07-29 20:44:09 +02:00
..
content Make current_path always start with a slash (#1101) 2020-07-29 20:44:09 +02:00
sass Preserve folder structure of SCSS content 2018-03-17 13:22:23 -06:00
static Implement get_file_hash (#1044) 2020-06-09 22:38:29 +02:00
syntaxes Fixes bug with extra syntaxes in non-root section, adds tests. 2018-08-14 02:12:04 -05:00
templates Make current_path always start with a slash (#1101) 2020-07-29 20:44:09 +02:00
themes/sample Make current_path always start with a slash (#1101) 2020-07-29 20:44:09 +02:00
config.staging.toml Update test alternative config file 2018-06-25 17:57:55 +02:00
config.toml Support and default to generating Atom feeds 2020-04-14 17:27:08 +05:30
README.md Move test_site and turn rebuild.rs into a component 2018-01-29 18:40:12 +01:00

Test site used by some components (site, rebuild) for integration tests.