Daniel James
b8120cc53c
Adjust a lot of the error handling.
...
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
f4472fc751
Website bootstrap file.
...
Sets up error handling and timezone, maybe other things in the future.
2016-09-29 02:08:52 +01:00
Daniel James
4f28b5bfdd
Read libraries.htm template from repo.
2016-05-29 19:49:58 +01:00
Daniel James
32c9ac5114
Make 'render' return a string.
2016-05-19 23:18:34 +01:00
Daniel James
fe7b6e1d34
Move template code into its own file.
2016-05-11 09:13:01 +01:00
Daniel James
2700d89858
Quick comment describing SimpleTemplate.
2016-05-08 14:40:52 +01:00
Daniel James
862fecc89a
Implement inverted sections.
...
Untested...
2016-05-08 14:40:41 +01:00
Daniel James
72eed824d8
Quick and dirty mustache style template engine.
...
I didn't want to use the existing mustache, as I want to keep the site
dependency free for now, and not have to deal with caching compiled
templates. Might switch to using composer on the site in the future.
This isn't full mustache syntax, and might behave slightly differently?
2016-05-08 14:08:44 +01:00
Daniel James
f461216118
Quick API for generating files.
2016-05-08 14:06:32 +01:00