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
James Munns
fbb57253a3
Add html-alias test
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
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
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
William Yao
4c9d1e3af7
Add shortcode for Streamable videos (Electric Boogaloo) ( #80 )
Add shortcode for Streamable video
7 years ago
Vincent Prouillet
dbe4a1d517
Move insert_anchor to section and allow left/right
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
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
04da527e53
Render anchor link
7 years ago
Vincent Prouillet
d03974270d
Add some default shortcodes
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