Commit graph

170 commits

Author SHA1 Message Date
Jake Howard
0424b607af Merge pull request #15 from RealOrangeOne/unified-template-render
Unified template render
2017-06-08 15:34:27 +01:00
5e41cabdcf Autoescape 2017-06-08 10:25:23 +01:00
126ea6447a Use the unified renderer 2017-06-08 09:48:35 +01:00
09b7cddcc2 Add unified helper for jinja rendering 2017-06-08 09:48:18 +01:00
82fc33a1c4 Null check TOCs 2017-06-01 15:42:32 +01:00
Jake Howard
253ecb88f1 Merge pull request #14 from RealOrangeOne/extract-assets
Dont render assets to project dir
2017-05-28 11:35:12 +01:00
79620e7fea Remove unused import 2017-05-28 11:20:41 +01:00
413d888a77 Use actual variable 2017-05-28 11:20:02 +01:00
d725d4ee3a Remove old entries from gitignore 2017-05-28 11:14:24 +01:00
0fcd1584be Move rendered templates out of project dir 2017-05-28 11:13:36 +01:00
Jake Howard
2c7c905c42 Merge pull request #12 from RealOrangeOne/context
More rendering context
2017-05-27 14:50:38 +01:00
6042019c0c Allow context to override builtins 2017-05-27 14:35:28 +01:00
ecc0b174cb Add program version to context 2017-05-27 14:20:39 +01:00
67020eb8c5 Add output dir to context 2017-05-27 14:12:31 +01:00
fc46e08559 Add title to header 2017-05-27 11:51:00 +01:00
dd7ec29526 Remove empty line 2017-05-25 21:50:02 +01:00
e70839eeaf Reorder css styles 2017-05-25 21:48:03 +01:00
85f7d4671d Update wkhtml download link 2017-05-25 21:42:28 +01:00
1c937e9188 Render submission date 2017-05-25 21:33:18 +01:00
a8a228cb23 add all of config to context 2017-05-25 20:39:24 +01:00
b242657df7 Add render date to context 2017-05-25 20:36:23 +01:00
6f8aa6ee09 Calculate wordcount better and make togglable 2017-05-25 20:34:41 +01:00
243ccc4641 Add wordcount to footer 2017-05-25 20:07:38 +01:00
805ddbcadb Add wordcount 2017-05-25 17:42:36 +01:00
70351adae6 Use single render context in all places 2017-05-25 17:16:13 +01:00
Jake Howard
a37b08ab4d Merge pull request #11 from RealOrangeOne/toc
Table of Contents
2017-05-24 13:40:16 +01:00
a193728ed5 Dont show references title in toc 2017-05-23 21:59:40 +01:00
9b8d861042 Log on config validation 2017-05-17 21:38:01 +01:00
a9038e9315 Better log output 2017-05-17 21:25:06 +01:00
71b641151e Fix lint 2017-05-17 21:14:12 +01:00
444a07cf5f Cleanup template 2017-05-17 21:12:53 +01:00
b5bbc2d22a Allow toggling of toc 2017-05-17 20:49:58 +01:00
00badaa7e2 Add config key for toc 2017-05-17 20:29:03 +01:00
2c7679fb2f Style ToC 2017-05-17 19:58:29 +01:00
81ab25fdfd reformat template 2017-05-17 18:04:45 +01:00
fc6b04ea87 Remove old files now created by template 2017-05-17 17:57:30 +01:00
19df5f4b2a Render pdf templates with jinja 2017-05-17 17:52:57 +01:00
3e4b951bf1 Change file names 2017-05-17 15:02:52 +01:00
5c83842116 Actually render it 2017-05-17 14:54:40 +01:00
b2715d4a23 Add basic TOC file 2017-05-17 14:46:11 +01:00
Jake Howard
e450824d9b Merge pull request #10 from RealOrangeOne/styling
Styling
2017-05-11 13:43:06 +01:00
847b783ea3 Check / fix support for remote images 2017-05-11 13:19:14 +01:00
af8464e344 Add timer 2017-05-11 09:20:35 +01:00
6a4815ba77 Move cover title up 2017-05-11 09:02:01 +01:00
851a215762 show wkhtmltopdf output when logging verbose 2017-05-11 09:00:40 +01:00
b01532e7d3 Force references to new page 2017-05-11 08:52:02 +01:00
56ed7df6c0 Remove inline styles on footer 2017-05-11 08:46:38 +01:00
5e76fab44b Add docs for inner linking 2017-05-10 21:48:22 +01:00
f745ee5f0b Enable internal links 2017-05-10 21:42:03 +01:00
bc95f592ab Set footer font size 2017-05-10 20:56:57 +01:00