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
Vincent Prouillet
8711c9a3c0
Change Site::section and fix empty paginated sections
7 years ago
Vincent Prouillet
2d4cba5b2d
Make index a section like any other
7 years ago
Vincent Prouillet
a3318d4b56
Pagination
7 years ago
Vincent Prouillet
6e9a9eaa1f
Fix prev/next
7 years ago
Vincent Prouillet
b256aaf7d0
Do not append non-sortables pages when not sortable
7 years ago
Vincent Prouillet
df51e4d8b6
Add a special section for home page
7 years ago
Vincent Prouillet
6036927c19
Add more sublime syntaxes
Also fix gutenberg serve that has been broken (not
re-rendering content) for quite some time now.
7 years ago
Vincent Prouillet
04da527e53
Render anchor link
7 years ago
Vincent Prouillet
7aeebcc981
Add current_url and current_path
To every templates, useful when doing
navigation to know which link is currently
active
7 years ago
Vincent Prouillet
d03974270d
Add some default shortcodes
7 years ago
Vincent Prouillet
870fbbcd0f
Allow selecting a config file other than config.toml
7 years ago
Vincent Prouillet
d05a1559d9
Add prev/next hack
7 years ago
Vincent Prouillet
7e496878e5
Sections
Parse _index.md files as sections and render them
7 years ago