Commit graph

31 commits

Author SHA1 Message Date
Vincent Prouillet
c3b525745e Convert project to a workspace 2017-07-01 16:47:41 +09:00
Vincent Prouillet
1f1fc3f454 Remove section from page context 2017-06-29 22:19:54 +09:00
Vincent Prouillet
6a059d86d0 Add aliases to pages. Fix #86 2017-06-16 23:09:01 +09:00
Vincent Prouillet
e76ee7ae4a Pass section in context when rendering a page if there is one 2017-06-16 21:53:54 +09:00
Vincent Prouillet
2d949249c3 Add trailing slash to paths and permalinks. Fix #85 2017-06-11 02:52:39 +09:00
Vincent Prouillet
958f1cf88c Update Tera and fix tests 2017-05-23 19:49:10 +09:00
Vincent Prouillet
dbe4a1d517 Move insert_anchor to section and allow left/right 2017-05-22 20:28:43 +09:00
Vincent Prouillet
be784bbaa3 Refactor taxonomies
Fix #66
2017-05-16 13:39:42 +09:00
Vincent Prouillet
056bf55881 Add a FileInfo struct to hold some common data about the files 2017-05-15 19:53:39 +09:00
Vincent Prouillet
d9ed7df118 Minify livereload.js 2017-05-15 17:11:14 +09:00
Vincent Prouillet
5ac5625de1 Default to not generating tags and categories page
Also add a Site::render_section method
2017-05-12 22:54:13 +09:00
Vincent Prouillet
8711c9a3c0 Change Site::section and fix empty paginated sections 2017-05-12 20:24:44 +09:00
Vincent Prouillet
2d4cba5b2d Make index a section like any other 2017-05-08 19:43:31 +09:00
Vincent Prouillet
a3318d4b56 Pagination 2017-05-03 20:00:50 +09:00
Vincent Prouillet
6e9a9eaa1f Fix prev/next 2017-05-01 17:10:22 +09:00
Vincent Prouillet
b256aaf7d0 Do not append non-sortables pages when not sortable 2017-05-01 15:35:49 +09:00
Vincent Prouillet
df51e4d8b6 Add a special section for home page 2017-04-22 14:36:02 +09:00
Vincent Prouillet
27c0f584e8 Add tests, update changelog and README 2017-04-10 20:26:35 +09:00
Vincent Prouillet
7aeebcc981 Add current_url and current_path
To every templates, useful when doing
navigation to know which link is currently
active
2017-04-06 14:40:46 +09:00
Vincent Prouillet
a6b8caf6de Add shortcodes 2017-03-29 21:45:41 +09:00
Vincent Prouillet
870fbbcd0f Allow selecting a config file other than config.toml 2017-03-25 13:18:15 +09:00
Vincent Prouillet
3cc5e0cf28 Remove extra assert 2017-03-23 13:42:14 +09:00
Vincent Prouillet
d05a1559d9 Add prev/next hack 2017-03-23 13:10:00 +09:00
Vincent Prouillet
8b5183d4ad Partial reloading of content on change 2017-03-21 16:57:00 +09:00
Vincent Prouillet
b0cc1ac042 Add robots.txt 2017-03-20 21:40:03 +09:00
Vincent Prouillet
eb6fa3c314 Override base_url in serve cmd 2017-03-20 19:20:16 +09:00
Vincent Prouillet
f63ec475eb Add categories and tags to sitemap 2017-03-20 12:42:43 +09:00
Vincent Prouillet
6df68da84b Add tests for categories and tags 2017-03-19 20:20:24 +09:00
Vincent Prouillet
d8995c156c Add sections to sitemap 2017-03-19 19:40:31 +09:00
Vincent Prouillet
cd70aac065 Clippy run 2017-03-19 19:29:43 +09:00
Vincent Prouillet
7e496878e5 Sections
Parse _index.md files as sections and render them
2017-03-19 19:20:24 +09:00