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
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
d11f4aa56a
Do not load markdown files starting with a .
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
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