Vincent Prouillet
c989ab607c
Add orphan in print notice and fix orphan with assets and url
7 years ago
Vincent Prouillet
f3edef2640
Warn about ignored pages
7 years ago
Vincent Prouillet
7099fc8ac2
Add frontmatter flag to not render a section
Useful if you're creating a section only to access it in the index but
do not want a section page for it
7 years ago
Vincent Prouillet
4df9752b54
Pass the <directory, section> to the index
7 years ago
Vincent Prouillet
2d4cba5b2d
Make index a section like any other
7 years ago
Vincent Prouillet
5bfe1c213b
Clippy run
7 years ago
Vincent Prouillet
a3318d4b56
Pagination
7 years ago
Vincent Prouillet
27287a50c3
Do not unwrap on watchers in serve cmd
7 years ago
Vincent Prouillet
fc960c1771
Do not populate prev/next on section index rendering
7 years ago
Vincent Prouillet
6e9a9eaa1f
Fix prev/next
7 years ago
Vincent Prouillet
566f4e6919
Fix rebuild content logic to include sections
7 years ago
Vincent Prouillet
db84411788
Fix link in md headers
Fix #53
7 years ago
Vincent Prouillet
b256aaf7d0
Do not append non-sortables pages when not sortable
7 years ago
Vincent Prouillet
9669c3562c
Some fix and use toml master branch for now
7 years ago
Vincent Prouillet
a0b70bfc7e
Allow sorting pages by order and date
Closes #14, #43
7 years ago
Vincent Prouillet
03aa83af6a
Make title and description optional in frontmatter
7 years ago
Vincent Prouillet
dd9bab3142
Fix XML template overriding
7 years ago
Vincent Prouillet
74be6d9c15
Add asset list in file not name index.md error message
7 years ago
Vincent Prouillet
df51e4d8b6
Add a special section for home page
7 years ago
Vincent Prouillet
1c9e078154
Clippy run
7 years ago
Vincent Prouillet
fb7b5646ca
Only load templates ending by .html
Avoid issues with temp files from some editors
7 years ago
Vincent Prouillet
f35ca24893
Fix titles with markdown chars and anchors
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
73feb41e17
Add missing fields to serialization
Also use Option for Page::summary
Close #38
7 years ago
Vincent Prouillet
32e8c07272
RSS summary and markdown tables/footnotes
7 years ago
Erle Carrara
9acb70442f
Copy only modified files in static directory ( #27 )
Copy only static files that triggered the change notification
7 years ago
Vincent Prouillet
04da527e53
Render anchor link
7 years ago
Vincent Prouillet
22392ff9ed
Make relative link work with anchors
7 years ago
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