Vincent Prouillet
b794a44a7f
Add id to headers
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
afc4a81ebf
Fix rss link and description
7 years ago
Vincent Prouillet
cf3a8142c2
Try to make windows work + remove musl
7 years ago
Vincent Prouillet
b86a30fb78
Add markdown and base64 filters
7 years ago
Vincent Prouillet
3aa2b89451
Allow links to .md pages in pages contents
7 years ago
Vincent Prouillet
d03974270d
Add some default shortcodes
7 years ago
Vincent Prouillet
a6b8caf6de
Add shortcodes
7 years ago
Vincent Prouillet
f4db5180ba
Add sections to index page context
7 years ago
Reilly Tucker Siemens
7c1cecb211
Use lazy front-matter regex
Using a greedy regex could lead to unintended consequences, like the
inability to syntax highlight a unified diff. This resolves issues like
that by using .*? instead of .* so that the closing +++ is matched as
soon as possible.
7 years ago
Vincent Prouillet
f44d698844
Add number of pages/section on serve as well
7 years ago
Vincent Prouillet
0aef05ac8e
Clippy + appveyor
7 years ago
Vincent Prouillet
a02d50c22a
Add some colours
7 years ago
Vincent Prouillet
870fbbcd0f
Allow selecting a config file other than config.toml
7 years ago
Vincent Prouillet
58208df35a
Move highlight decision into the markdown_to_html fn
7 years ago
Vincent Prouillet
d05a1559d9
Add prev/next hack
7 years ago
Vincent Prouillet
8b5183d4ad
Partial reloading of content on change
7 years ago
Vincent Prouillet
b0cc1ac042
Add robots.txt
7 years ago
Vincent Prouillet
eb6fa3c314
Override base_url in serve cmd
7 years ago
Vincent Prouillet
540bbcc1b6
Add flags in config to disable tags/categories generation
7 years ago
Vincent Prouillet
9af85ba3e4
Pick highlighting theme from config
7 years ago
Vincent Prouillet
f63ec475eb
Add categories and tags to sitemap
7 years ago
Vincent Prouillet
fd10e77e39
Sort section pages after parsing
7 years ago
Vincent Prouillet
6df68da84b
Add tests for categories and tags
7 years ago
Vincent Prouillet
d8995c156c
Add sections to sitemap
7 years ago
Vincent Prouillet
cd70aac065
Clippy run
7 years ago
Vincent Prouillet
7e496878e5
Sections
Parse _index.md files as sections and render them
7 years ago
Vincent Prouillet
4e99389566
disable_rss -> generate_rss in config
7 years ago
Vincent Prouillet
dde9af3efd
Copy assets found in content folders
7 years ago
Vincent Prouillet
60e30edce0
Make it work on stable
7 years ago
Vincent Prouillet
eaa09999fe
Clippy run
7 years ago
Vincent Prouillet
2d26bf038c
Force refresh on content/template change and various fixes
7 years ago
Vincent Prouillet
a57baf2934
Refactor serve/rebuilding a bit
7 years ago
Vincent Prouillet
4406b16007
Detect whether the page needs highlighting
7 years ago
Vincent Prouillet
09ade9573c
Use a lazy_static version of tera templates
7 years ago
Vincent Prouillet
57fd159025
Copy static directory and live reload changes to it
7 years ago
Vincent Prouillet
478e7054de
More precise time and show what changed
7 years ago
Vincent Prouillet
e68af48eb6
Make gutenberg a lib as well
7 years ago
Vincent Prouillet
a99f084ee2
Code highlighting
7 years ago
Vincent Prouillet
d43d738a4f
RSS feed generation
7 years ago
Vincent Prouillet
fa7fc6e49b
Render categories and tags
7 years ago
Vincent Prouillet
4f1f73fe56
Add summary
7 years ago
Vincent Prouillet
434a7fcde8
Permalinks and sitemap
7 years ago
Vincent Prouillet
e5367453d7
Wordcount + reading time
7 years ago
Vincent Prouillet
4acce865b4
Sort by date
7 years ago
Vincent Prouillet
f57912f712
Basic livereload
7 years ago
Vincent Prouillet
e948df1028
Add a Site struct that knows how to parse/build a site
7 years ago
Vincent Prouillet
91fa7e358c
Started working on gutenberg again
7 years ago
Vincent Prouillet
cbe1691f36
Rename new command to init
8 years ago
Vincent Prouillet
efa58e7de8
Roughly working page rendering
8 years ago