Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
Fix #205
6 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
6 years ago
Vincent Prouillet
10aba20fe5
Slotmap refactor
6 years ago
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
6 years ago
Vincent Prouillet
69a9a352a0
Only compute reading analytics once...
6 years ago
Vincent Prouillet
6903975202
Do not copy pages of sections when rendering taxonomies
6 years ago
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
6 years ago
Thomas Hurst
c069bfdafa
Rework summary handling.
Push summary handling into Markdown parsing, identifying the presence
of one by giving its length in the rendered markup.
Hopefully a better fix for #376 .
7 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
7 years ago
cmal
31479ff23b
Remove condition that's always true (optimization)
7 years ago
cmal
3b9c8c71b5
Revert "Start implementing _index folder for section content/assets"
This reverts commit c7156a84f0
.
7 years ago
cmal
c7156a84f0
Start implementing _index folder for section content/assets
7 years ago
cmal
8473dff23d
Implement assets colocation in section
7 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
7 years ago
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
7 years ago
Vojtech Kral
6662014e55
Add image resizing support #225
7 years ago
Vincent Prouillet
860d1f4d1f
Indicate which file is failing to render on error
7 years ago
Vincent Prouillet
85e13483eb
Use the new shortcode parser
7 years ago
Vincent Prouillet
9c0dd95bdb
Fix theme shortcode not being useable
Closes #272
7 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
7 years ago
Vincent Prouillet
b3b2527c5d
TIL about serde default
7 years ago
Vincent Prouillet
791fbe685b
Add page and section components
7 years ago
Vincent Prouillet
dee1dbe667
Working on site
And some tweaks as I write the docs
7 years ago
Vincent Prouillet
f11cc6abb4
Serialize page & section paths is, without leading slash
7 years ago
Vincent Prouillet
c77cc9b170
First draft of theme support
8 years ago
Vincent Prouillet
3cb4641f1f
Remove sections for index page and clean up pager
8 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
8 years ago
Vincent Prouillet
c3986b701a
Add table of contents support
8 years ago
Vincent Prouillet
2d949249c3
Add trailing slash to paths and permalinks. Fix #85
8 years ago
Vincent Prouillet
dbe4a1d517
Move insert_anchor to section and allow left/right
8 years ago
Vincent Prouillet
26159609d2
Add a rendering module
8 years ago
Vincent Prouillet
be784bbaa3
Refactor taxonomies
Fix #66
8 years ago
Vincent Prouillet
056bf55881
Add a FileInfo struct to hold some common data about the files
8 years ago
Vincent Prouillet
4f27dc2f18
Move find_content_components to content mod
8 years ago
Vincent Prouillet
07f11755d6
Create a content mod
8 years ago
Vincent Prouillet
09d5e74a65
Smarter rebuild on content change
Fix #59
8 years ago
Vincent Prouillet
299c3c8b22
Separate Page and Section front matter into 2 structs
Fix #61
8 years ago
Vincent Prouillet
5ac5625de1
Default to not generating tags and categories page
Also add a Site::render_section method
8 years ago
Vincent Prouillet
8711c9a3c0
Change Site::section and fix empty paginated sections
8 years ago
Vincent Prouillet
c565f10cb3
Let sections have their own body
8 years ago
Vincent Prouillet
005990a928
Create a default index section if there is none
8 years ago
Vincent Prouillet
4df9752b54
Pass the <directory, section> to the index
8 years ago
Vincent Prouillet
2d4cba5b2d
Make index a section like any other
8 years ago
Vincent Prouillet
5bfe1c213b
Clippy run
8 years ago
Vincent Prouillet
a3318d4b56
Pagination
8 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
8 years ago
Vincent Prouillet
a6b8caf6de
Add shortcodes
8 years ago
Vincent Prouillet
f63ec475eb
Add categories and tags to sitemap
8 years ago
Vincent Prouillet
7e496878e5
Sections
Parse _index.md files as sections and render them
8 years ago