Bob
4aa2ba84fc
Let toc is visable through Page & Section variables in templates ( #818 )
* Let toc is visable through Page & Section variables in templates
* Removed the current toc variable from page & section
5 years ago
Vincent Prouillet
0199017d07
Slugify given slugs as well
5 years ago
Pyry Kovanen
4b43b75d22
Allow ignored_content to support markdown files ( #759 )
* Allow ignored_content to support markdown files
* Add test for markdown supported ignored_content
5 years ago
Vincent Prouillet
cb962f7a64
Add aliases to sections
5 years ago
Vincent Prouillet
ec61a57841
Use @/ for internal links rather than ./
Close #686
5 years ago
Vincent Prouillet
974492bb7b
Ensure we don't delete root index without
adding back default in rebuild
Fix #620
5 years ago
Vincent Prouillet
705a30aa8d
Move toc to be a rendering page/section variable level
5 years ago
Nicolas Pochet
b65979fac7
Render the theme template files if present
* Change the behavior of the template rendering:
* Check if the template bare name is present
* Check if the template is part of a theme
* Fallback to defaults
* Change the behavior of the shortcode rendering:
* Call the template rendering function
* Prepend `__zola_builtins/` to most of the default elements in `ZOLA_TERA`
* Add a test to verify the presence and content of a `404.html` page
from a theme's template
5 years ago
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
Closes #533
6 years ago
Vincent Prouillet
aee41f279c
Fix reload with taxonomies
6 years ago
Vincent Prouillet
41a693a528
Ignore rename of non md files
6 years ago
Vincent Prouillet
20a05da475
Fix bug with pages starting with dates
6 years ago
Vincent Prouillet
59f3e54e4e
Add test for nested page_template
6 years ago
Vincent Prouillet
56af4ca7f9
Add page_template to sections
To override all child pages
Closes #397
Tests from PR #434
6 years ago
Vincent Prouillet
a3b0f1e103
Add transparent sections
Closes #413
Closes #408
6 years ago
Vincent Prouillet
a0da580f87
Do not error on files starting with utf-8 BOM
Close #501
6 years ago
Magnus Hovland Hoff
05b8bb4ac6
Ensure root output directory exists explicitly.
Aliases that have no directory nesting sneakily avoid the code path that ensures the directories exist
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Vincent Prouillet
83b04a561c
Expose relative path of pages & sections
Closes #485
6 years ago
Vincent Prouillet
f14dbcbdf4
section.subsections is now an array of paths
Close #446
Close #260
Close #478
Close #284
Close #480
6 years ago
Greizgh
fec58054b4
Inject config in robots.txt context
This allow to use base_url in robots.txt, to reference a sitemap for
example.
6 years ago
Vincent Prouillet
2cf99c3cfc
Fix robots.txt template for real this time
6 years ago
Vincent Prouillet
e1aaed3c04
Remove paginator.pagers
6 years ago
Vincent Prouillet
a11f8232de
Fix robots.txt not being loaded in Tera
Closes #443
6 years ago
Vincent Prouillet
d11f4aa56a
Do not load markdown files starting with a .
6 years ago
Vincent Prouillet
367f58b0a3
Fix loading html files in themes outside of templates
Fix #412
6 years ago
Vincent Prouillet
a6adbabb3d
Fix benches
6 years ago
Vincent Prouillet
743f832b2f
Fix tests
6 years ago
Tim DuBois
e99bdd07ac
Update pagination for test_site posts
6 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
6 years ago
Daniel Sockwell
c2437cc0eb
Remove `order` and add `heavier`/`later`
This commit removes the option to sort by order and also removes
`page.next` and `page.previous` variables. Instead, pages can be sorted
by two methods `date` and `weight`. The Tera `reverse` filter will
reverse either of those sorts, so the old `order` behavior can be
achieved by using the `reverse` filter with `weight`.
In place of the `previous`/`next` variables, this commit adds the
`page.earlier`/`page.later` variables (which are set when the page is
sorted by date) and the `page.heavier`/`page.lighter` variables (which
are set when the page is sorted by weight). These variables have the
advantage of not having confusing semantics when the `reverse` filter is
used.
6 years ago
Vincent Prouillet
1ae0702494
Custom taxonomies ( #330 )
6 years ago
James Munns
fbb57253a3
Add html-alias test
6 years ago
Vincent Prouillet
a060646b9e
Update test alternative config file
6 years ago
Vincent Prouillet
d9dbf4d567
Fix internal links to content dir not working
Closes #275
6 years ago
Vincent Prouillet
9c0dd95bdb
Fix theme shortcode not being useable
Closes #272
6 years ago
Vincent Prouillet
e40e97711f
Some more bits about continue_reading anchor
6 years ago
Erich Gubler
9fbbcca3c6
Preserve folder structure of SCSS content
6 years ago
Vincent Prouillet
972687fd76
Add back mistakenly deleted test file
6 years ago
Vincent Prouillet
10818cd0de
Stop trying to load every file as markdown on serve
Closes #235
6 years ago
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
6 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago
Vincent Prouillet
1f1fc3f454
Remove section from page context
7 years ago
Vincent Prouillet
60e3352b7b
Remove tests flakyness
Tags/Categories only work on dates
and tests were assigning them randomly
7 years ago
Vincent Prouillet
6a059d86d0
Add aliases to pages. Fix #86
7 years ago
Vincent Prouillet
e76ee7ae4a
Pass section in context when rendering a page if there is one
7 years ago
William Yao
4c9d1e3af7
Add shortcode for Streamable videos (Electric Boogaloo) ( #80 )
Add shortcode for Streamable video
7 years ago
Vincent Prouillet
ffe8a24333
Sort tag/category page by date
Fix #75
7 years ago
Vincent Prouillet
dbe4a1d517
Move insert_anchor to section and allow left/right
7 years ago
Vincent Prouillet
be784bbaa3
Refactor taxonomies
Fix #66
7 years ago