Commit graph

254 commits

Author SHA1 Message Date
Vincent Prouillet
652196969c templates folder is now optional for serve
Fix #445
2018-10-11 20:52:42 +02:00
Vincent Prouillet
44a33c020c Clearer error message when failing to load theme.toml 2018-10-10 13:58:21 +02:00
Vincent Prouillet
e1aaed3c04 Remove paginator.pagers 2018-09-30 23:49:32 +02:00
Vincent Prouillet
a11f8232de Fix robots.txt not being loaded in Tera
Closes #443
2018-09-30 19:05:59 +02:00
Vincent Prouillet
330c4fca4d Update changelog 2018-09-29 11:20:59 +02:00
Vincent Prouillet
f100d956c6 Fix incorrect default for highlight_code of Config 2018-09-20 20:07:20 +02:00
Vincent Prouillet
62b89d0c72 _processed_images -> processed_images 2018-09-15 13:16:46 +02:00
Vincent Prouillet
d11f4aa56a Do not load markdown files starting with a . 2018-09-13 17:07:14 +02:00
Vincent Prouillet
58e2793097 Ignore one more type of emacs temp file 2018-09-13 16:57:38 +02:00
Vincent Prouillet
ae7a65b51f Fix base-url not overriding processed images urls
Closes #418
2018-09-10 20:30:59 +02:00
Vincent Prouillet
5fe4590063 Default get_url to not add a trailing slash
Closes #388
2018-09-10 20:13:45 +02:00
Vincent Prouillet
c2b76d1850 Enable markdown extensions for markdown filter
Closes #417
2018-09-10 17:22:36 +02:00
Vincent Prouillet
b4158921dd Fix email links being checked by link checker
Closes #403
2018-09-10 12:40:31 +02:00
Vincent Prouillet
7c75232a74 Mention highlight bg improvement in changelog 2018-09-10 09:19:58 +02:00
Vincent Prouillet
367f58b0a3 Fix loading html files in themes outside of templates
Fix #412
2018-09-09 20:12:55 +02:00
Vincent Prouillet
38b30eb144 Update deps and fix deprecrations 2018-09-09 19:43:14 +02:00
Vincent Prouillet
8cf7dc7cce Start work on 0.4.3 2018-09-05 17:26:39 +02:00
Vincent Prouillet
037237425b Update changelog date 2018-09-03 19:41:30 +02:00
Vincent Prouillet
6d875db4c7 Update changelog 2018-08-25 11:21:02 +02:00
Vincent Prouillet
e0291cec65 Add Swift, MiniZinc syntax and update the rest
Also fix tests

Close #367, #372
2018-08-15 15:42:43 +02:00
Vincent Prouillet
cc46c81bbd Prepare 0.4.1 2018-08-06 19:40:59 +02:00
Vincent Prouillet
abd9c26d81 Update deps for notify 2018-08-06 09:20:54 +02:00
Vincent Prouillet
a4e47f9435 Update deps 2018-08-05 15:03:12 +02:00
Vincent Prouillet
4f418a11b4 Fix live reload of section content 2018-08-05 10:30:01 +02:00
Vincent Prouillet
84a3193e97 Last fixes 2018-08-03 19:47:39 +02:00
Vincent Prouillet
efddb24b95 We actually need get_taxonomy_url. Also update docs 2018-07-31 16:35:16 +02:00
Vincent Prouillet
9f9bae16d9 Update changelog for sorting order 2018-07-31 15:31:36 +02:00
Vincent Prouillet
3e48ff24b5 Add an external link checker
Close #115
2018-07-16 21:15:50 +02:00
Vincent Prouillet
1ae0702494
Custom taxonomies (#330) 2018-07-16 10:54:05 +02:00
Vincent Prouillet
735bb38bd7 Update docs for 404 and enable preserve-order of tera 2018-07-05 17:43:48 +02:00
Vincent Prouillet
d47ba4aff0 Rebasing + tweaks 2018-06-25 19:13:21 +02:00
Vincent Prouillet
42939b9a66 Fix error and cargo update 2018-06-25 18:08:20 +02:00
Vincent Prouillet
8e8cdfeb7f Add year, month and day to page context with a date 2018-06-25 18:06:25 +02:00
Vincent Prouillet
28641fc223 Add HTML aliases to changelog 2018-06-25 18:04:00 +02:00
Vincent Prouillet
d334b1cf46 More shortcode docs update 2018-06-25 18:03:20 +02:00
Vincent Prouillet
b892c07ed3 Don't hardcode the ws port
Closes #282
2018-06-25 17:59:04 +02:00
Vincent Prouillet
50a79c52f3 Fix serve not working with config flag
Closes #294
2018-06-25 17:58:27 +02:00
Vincent Prouillet
2b75fd180b cargo update for new version 2018-06-22 13:34:47 +02:00
Vincent Prouillet
4b23759908 Add CMake syntax and update other syntaxes
Closes #277
2018-04-13 15:07:30 +02:00
Vincent Prouillet
d6bb43c0ad Set release date 2018-03-29 15:30:30 +02:00
Vincent Prouillet
d9dbf4d567 Fix internal links to content dir not working
Closes #275
2018-03-29 14:55:26 +02:00
Vincent Prouillet
9c0dd95bdb Fix theme shortcode not being useable
Closes #272
2018-03-28 21:09:08 +02:00
Vincent Prouillet
d67211bfd6 Fix many shortcode parsing issues
Closes #228
Closes #229
2018-03-28 19:41:04 +02:00
Vincent Prouillet
e40e97711f Some more bits about continue_reading anchor 2018-03-28 17:01:14 +02:00
Vincent Prouillet
73ddbf7152 Write some docs 2018-03-21 16:18:24 +01:00
Vincent Prouillet
cbb2c59b91 Add indented Sass to changelog 2018-03-19 18:50:04 +01:00
Vincent Prouillet
43db3a43ff Do not require themes to have a static folder 2018-03-18 09:34:37 +01:00
Vincent Prouillet
b558b51dff Mention sass folders in docs and changelog 2018-03-17 20:42:06 +01:00
Vincent Prouillet
3a2dab5974 Sort sitemap elements by permalink
Closes #257
2018-03-17 14:34:02 +01:00
Vincent Prouillet
2eacb8247b Fix config CLI option
Closes #254
2018-03-16 19:11:12 +01:00
Vincent Prouillet
15dd8e629e v0.3.2 2018-03-05 19:26:27 +01:00
Vincent Prouillet
1e25117887 Fix date serializing in extra section of pages
Closes #238
2018-03-01 14:49:34 +01:00
Vincent Prouillet
10818cd0de Stop trying to load every file as markdown on serve
Closes #235
2018-02-22 16:49:37 +01:00
Vincent Prouillet
45fc1ee761 Release 0.3.1 2018-02-15 10:41:49 +01:00
Vincent Prouillet
f7cacba3f0 Update deps and changelog 2018-02-02 17:35:03 +01:00
Vincent Prouillet
29ce510aa3 Add inline option of markdown filter
Fix #197
2018-01-26 16:22:38 +01:00
Vincent Prouillet
7316b98c9b Start changelog for next version 2018-01-25 19:12:17 +01:00
Vincent Prouillet
a898a0004c
It's 2018 now, 2018! 2018-01-25 15:15:59 +01:00
Vincent Prouillet
7b26418260 Try to remove sudo: required in travis 2018-01-25 12:44:41 +01:00
Vincent Prouillet
b73ff48482 Fix not compiling on nightly
Fix #215
2018-01-24 13:21:48 +01:00
Vincent Prouillet
4e7538c821 Update some syntaxes + test on rust 1.23 2018-01-22 21:20:55 +01:00
Vincent Prouillet
f3b1553a26 Update docs about trans 2018-01-16 13:57:31 +01:00
Vincent Prouillet
1d1ff74d88 Use TOML dates in front-matter rather than strings
Closes #210
2018-01-14 18:04:01 +01:00
Vincent Prouillet
892c987152 Livereload shortcode changes
Fix #204
2018-01-09 23:39:21 +01:00
Vincent Prouillet
4c560c819e Update changelog 2018-01-02 20:11:19 +01:00
Vincent Prouillet
530c661744 Add output-url to changelog 2017-12-29 19:33:04 +01:00
Vincent Prouillet
129e693521 Add default templates 2017-11-27 18:09:09 +01:00
Vincent Prouillet
021c99c5f0 Fix tests and add taxonomies to changelog 2017-11-26 10:07:34 +01:00
Vincent Prouillet
322d2f30fb Add get_taxonomy_url global_fn
And fix bug with taxonomies urls
2017-11-26 10:07:34 +01:00
Vincent Prouillet
11be340a92 v0.2.2 2017-11-01 14:58:03 +01:00
Vincent Prouillet
791fbe685b Add page and section components 2017-10-31 16:41:31 +01:00
Vincent Prouillet
bfdfe3bba3 Properly parse shortcode arg value types 2017-10-26 17:03:26 +02:00
Vincent Prouillet
1d8df5774f Allow static folder to be missing 2017-10-25 14:49:54 +02:00
Vincent Prouillet
57b9095aa3 Add Nim syntax 2017-10-25 09:09:55 +02:00
Vincent Prouillet
d4779aa2ed Fix generated index section not found in get_section 2017-10-24 20:32:46 +02:00
Vincent Prouillet
404240ef82 Fix some index related bugs 2017-10-24 20:11:39 +02:00
Vincent Prouillet
7d7efdd6ea Handle markdown parser potentially splitting shortcodes 2017-10-23 14:18:05 +02:00
Vincent Prouillet
ca5bdc8f3c Do not ignore shortcodes without args 2017-10-23 10:49:23 +02:00
Vincent Prouillet
3e421fb951 Releasing 0.2.1 2017-10-17 11:44:06 +02:00
Vincent Prouillet
04b27d5923 Add more syntaxes 2017-10-17 09:23:17 +02:00
Vincent Prouillet
d2177df838 Stop using clap macro 2017-10-16 22:48:59 +02:00
Vincent Prouillet
380a807783 Releasing v0.2.0 2017-10-05 19:26:29 +09:00
Vincent Prouillet
73797efe90 Add a base-url flag to the build command 2017-10-05 10:56:13 +09:00
Vincent Prouillet
f26b9d53bd url -> path in page front-matter 2017-10-04 09:35:37 +09:00
Vincent Prouillet
a24851790c Fix bug with colocated folders 2017-10-04 09:23:25 +09:00
Vincent Prouillet
c348648b02 Some design work on docs 2017-10-04 00:21:18 +09:00
Vincent Prouillet
97d5561569 Next version will be 0.2.0 2017-10-03 20:50:34 +09:00
Vincent Prouillet
952b6679ce Change taxonomies to be sorted a-z and add permalinks 2017-10-01 14:04:30 +09:00
Vincent Prouillet
57b87aa50a Add more docs pages 2017-10-01 12:51:43 +09:00
Vincent Prouillet
dee1dbe667 Working on site
And some tweaks as I write the docs
2017-09-29 15:37:58 +09:00
Vincent Prouillet
c2b190513e Refactor markdown header rendering 2017-09-27 23:09:13 +09:00
Vincent Prouillet
de5d711771 Use flags for port/interface in serve cmd 2017-09-27 21:51:10 +09:00
Vincent Prouillet
5d7e0bb33e Register all Tera global fns on change 2017-09-26 17:25:55 +09:00
Vincent Prouillet
b248b03045 Allow sorting subsections by weight 2017-09-26 17:04:18 +09:00
Vincent Prouillet
2d97786e67 Add back drafts 2017-09-25 18:55:43 +09:00
Vincent Prouillet
f5e1b0c170 Get ready for 0.1.3 release 2017-08-31 18:51:18 +09:00
Vincent Prouillet
edc3fd2295 Only build inheritance chain for user tpls after adding theme tpl 2017-08-30 17:48:13 +09:00
Vincent Prouillet
ce371f2ed5 Update 0.1.2 release date 2017-08-10 11:30:19 +09:00
Vincent Prouillet
145829023c Prepare for 0.1.2 release 2017-08-09 13:42:27 +09:00
Vincent Prouillet
8a11d8e049 Fold get_static_url in get_url 2017-08-07 23:29:58 +09:00
Vincent Prouillet
fc63765ee1 Add a get_static_url global fn
Fix #108
2017-08-07 20:38:14 +09:00
Vincent Prouillet
23e4b911e7 Improve gutenberg init
Fix #104
2017-07-27 18:28:06 +09:00
Vincent Prouillet
2beb0621ca Add a redirect_to parameter to section front matter
Close #103
2017-07-25 16:58:00 +09:00
Vincent Prouillet
e019fd33d4 v0.1.1 2017-07-16 11:46:58 +09:00
Vincent Prouillet
c61518225b Fix RSS feed; close #101 2017-07-15 12:51:43 +09:00
Vincent Prouillet
61e615467e Sass should work on all platform now 2017-07-14 19:26:27 +09:00
Vincent Prouillet
b3d002f54d Clippy run 2017-07-11 22:51:02 +09:00
Vincent Prouillet
d78477b619 Add Sass support for *nix 2017-07-06 22:19:50 +09:00
Vincent Prouillet
3cb4641f1f Remove sections for index page and clean up pager 2017-07-06 18:51:36 +09:00
Vincent Prouillet
015f146792 Put back a limit on rss feed number of pages 2017-07-05 12:18:37 +09:00
Vincent Prouillet
37af36186a Improve sorting speed 2017-07-04 18:33:58 +09:00
Vincent Prouillet
517c18c0f6 Add weight sorting to changelog 2017-06-30 00:10:24 +09:00
Vincent Prouillet
1f1fc3f454 Remove section from page context 2017-06-29 22:19:54 +09:00
Vincent Prouillet
b158ca7952 Read off disk in parallel 2017-06-22 14:21:56 +09:00
William Yao
40cfd6fff8 add changelog entry for parallelization 2017-06-21 04:06:14 -05:00
Vincent Prouillet
cfcc4e7c38 Add script to generate test sites for benches 2017-06-20 23:21:57 +09:00
Vincent Prouillet
549644683b v0.0.7 2017-06-19 18:44:31 +09:00
Vincent Prouillet
6508b7e4d3 Name the index section 2017-06-19 18:14:13 +09:00
Vincent Prouillet
03bbe9cc90 Revert "Reverse order sorting to be desc"
This reverts commit 26e119479c.
2017-06-17 08:42:18 +09:00
Vincent Prouillet
6a059d86d0 Add aliases to pages. Fix #86 2017-06-16 23:09:01 +09:00
Vincent Prouillet
26e119479c Reverse order sorting to be desc 2017-06-16 22:12:38 +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
e57fb7d594 Add docs for toc 2017-06-16 14:05:14 +09:00
Vincent Prouillet
2d949249c3 Add trailing slash to paths and permalinks. Fix #85 2017-06-11 02:52:39 +09:00
William Yao
4c9d1e3af7 Add shortcode for Streamable videos (Electric Boogaloo) (#80)
Add shortcode for Streamable video
2017-06-06 12:51:20 +09:00
Vincent Prouillet
ffe8a24333 Sort tag/category page by date
Fix #75
2017-05-30 19:23:10 +09:00
Vincent Prouillet
2c8ff5e08e v0.0.6 2017-05-24 21:28:33 +09:00
Vincent Prouillet
bae3ade471 Add get_section fn and update readme 2017-05-23 20:03:25 +09:00
Vincent Prouillet
dbe4a1d517 Move insert_anchor to section and allow left/right 2017-05-22 20:28:43 +09:00
Vincent Prouillet
33faf6fe70 Make number RSS item configurable
Fix #71
2017-05-20 23:45:32 +09:00
Vincent Prouillet
b2a63e2ada Add a get_url global fn
Close #67
2017-05-17 19:06:11 +09:00
Vincent Prouillet
be784bbaa3 Refactor taxonomies
Fix #66
2017-05-16 13:39:42 +09:00
Vincent Prouillet
54fc1055ad v0.0.5 2017-05-15 15:57:42 +09:00
Vincent Prouillet
09d5e74a65 Smarter rebuild on content change
Fix #59
2017-05-13 22:37:02 +09:00
Vincent Prouillet
40b5a0547a Update changelog 2017-05-11 14:12:02 +09:00
Vincent Prouillet
2d4cba5b2d Make index a section like any other 2017-05-08 19:43:31 +09:00
Vincent Prouillet
0dcca4e271 Update changelog 2017-05-03 21:30:17 +09:00
Vincent Prouillet
b256aaf7d0 Do not append non-sortables pages when not sortable 2017-05-01 15:35:49 +09:00
Vincent Prouillet
70729c9822 Add GenericConfig and VimL syntaxes
Fix #51
2017-05-01 14:44:45 +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
a8c8c5cb07 Update changelog and base64 2017-04-23 15:32:28 +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
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
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
afc4a81ebf Fix rss link and description 2017-04-06 11:21:37 +09:00
Vincent Prouillet
e6b48dff38 Release 0.0.3 2017-04-05 21:51:18 +09:00