Commit graph

1234 commits

Author SHA1 Message Date
Vincent Prouillet 6f5e008853 Add global get_page tera fn 2017-05-10 12:17:15 +09:00
Vincent Prouillet 08bb1c8774 Merge pull request #60 from Keats/sections
Sections
2017-05-10 12:05:01 +09:00
Vincent Prouillet 20989b9f22 Update README 2017-05-09 23:10:27 +09:00
Vincent Prouillet c989ab607c Add orphan in print notice and fix orphan with assets and url 2017-05-09 21:47:02 +09:00
Vincent Prouillet f3edef2640 Warn about ignored pages 2017-05-09 21:12:10 +09:00
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
2017-05-09 20:39:42 +09:00
Vincent Prouillet 4df9752b54 Pass the <directory, section> to the index 2017-05-09 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 5bfe1c213b Clippy run 2017-05-08 17:39:31 +09:00
Vincent Prouillet 0dcca4e271 Update changelog 2017-05-03 21:30:17 +09:00
Vincent Prouillet c9c6b4c808 Merge pull request #55 from Keats/pagination2
Pagination
2017-05-03 21:28:19 +09:00
Vincent Prouillet a3318d4b56 Pagination 2017-05-03 20:00:50 +09:00
Vincent Prouillet 27287a50c3 Do not unwrap on watchers in serve cmd 2017-05-01 18:11:18 +09:00
Vincent Prouillet fc960c1771 Do not populate prev/next on section index rendering 2017-05-01 17:33:20 +09:00
Vincent Prouillet 177826a110 Mention sorting in readme 2017-05-01 17:21:49 +09:00
Vincent Prouillet 6e9a9eaa1f Fix prev/next 2017-05-01 17:10:22 +09:00
Vincent Prouillet 566f4e6919 Fix rebuild content logic to include sections 2017-05-01 16:31:23 +09:00
Vincent Prouillet db84411788 Fix link in md headers
Fix #53
2017-05-01 16:04:43 +09:00
Vincent Prouillet f322672f08 Merge pull request #47 from Keats/sorting
Allow sorting pages by order and date
2017-05-01 15:51:47 +09:00
Vincent Prouillet b256aaf7d0 Do not append non-sortables pages when not sortable 2017-05-01 15:35:49 +09:00
Vincent Prouillet 9669c3562c Some fix and use toml master branch for now 2017-05-01 14:55:42 +09:00
Vincent Prouillet a0b70bfc7e Allow sorting pages by order and date
Closes #14, #43
2017-05-01 14:46:01 +09:00
Vincent Prouillet 70729c9822 Add GenericConfig and VimL syntaxes
Fix #51
2017-05-01 14:44:45 +09:00
Vincent Prouillet 968f81be29 Update syntaxes 2017-04-28 17:06:32 +09:00
Vincent Prouillet 03aa83af6a Make title and description optional in frontmatter 2017-04-28 16:31:11 +09:00
Vincent Prouillet dd9bab3142 Fix XML template overriding 2017-04-28 16:18:18 +09:00
Vincent Prouillet 74be6d9c15 Add asset list in file not name index.md error message 2017-04-25 12:00:55 +09:00
Vincent Prouillet 33951ffe70 Fix relative link in README 2017-04-23 15:39:38 +09:00
Vincent Prouillet a8c8c5cb07 Update changelog and base64 2017-04-23 15:32:28 +09:00
Vincent Prouillet d6437856a4 Merge pull request #45 from Keats/index
Index page
2017-04-23 13:28:27 +09:00
Vincent Prouillet df51e4d8b6 Add a special section for home page 2017-04-22 14:36:02 +09:00
Vincent Prouillet 1c9e078154 Clippy run 2017-04-22 12:35:11 +09:00
Vincent Prouillet fb7b5646ca Only load templates ending by .html
Avoid issues with temp files from some editors
2017-04-22 11:44:57 +09:00
Vincent Prouillet f35ca24893 Fix titles with markdown chars and anchors 2017-04-22 11:40:11 +09:00
Vincent Prouillet f3d9bea3df Merge pull request #41 from Keats/syntaxes
Add more sublime syntaxes
2017-04-22 11:11:36 +09:00
Vincent Prouillet b822fe1d3b Update Assembly and regenerate syntaxes
The packdumps contains the fixed Linker syntax too so it can be
used
2017-04-22 10:46:40 +09:00
Vincent Prouillet 873256ad5f Add TOML and Linker syntax 2017-04-21 20:24:27 +09:00
Vincent Prouillet c0cb77490a Use https for package submodule 2017-04-21 20:02:55 +09:00
Vincent Prouillet 6036927c19 Add more sublime syntaxes
Also fix gutenberg serve that has been broken (not
re-rendering content) for quite some time now.
2017-04-21 16:24:09 +09:00
Vincent Prouillet d37ca10905 Update serde and tera 2017-04-21 14:09:22 +09:00
Vincent Prouillet 18d3d9597f Merge pull request #40 from Keats/improvements
Add missing fields to serialization
2017-04-20 13:49:48 +09:00
Vincent Prouillet 73feb41e17 Add missing fields to serialization
Also use Option for Page::summary

Close #38
2017-04-20 12:12:43 +09:00
Vincent Prouillet 32e8c07272 RSS summary and markdown tables/footnotes 2017-04-19 22:16:21 +09:00
Erle Carrara 9acb70442f Copy only modified files in static directory (#27)
Copy only static files that triggered the change notification
2017-04-18 14:07:02 +09:00
Vincent Prouillet c708295865 Merge pull request #35 from thorbenk/patch-1
fix link to "releases"
2017-04-16 01:59:36 +09:00
thorbenk a24d4e78af fix link to "releases" 2017-04-15 16:31:26 +02:00
Vincent Prouillet 85f55ada9c Merge pull request #31 from Keats/anchors
Anchors
2017-04-13 17:16:13 +09:00
Vincent Prouillet 27c0f584e8 Add tests, update changelog and README 2017-04-10 20:26:35 +09:00
Vincent Prouillet d433334cef Merge pull request #26 from Keats/current
Add current_url and current_path
2017-04-10 20:00:45 +09:00
Vincent Prouillet 04da527e53 Render anchor link 2017-04-10 19:58:44 +09:00