1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-09 14:23:41 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Matt Baer
2b5e869916 Rename render.tmpl to post-render.tmpl 2018-11-23 12:37:59 -05:00
Matt Baer
03c36af2f9 Optimize template loading on non-post pages
Avoids loading render.tmpl where it isn't needed.
2018-11-23 12:37:59 -05:00
Marcel van der Boom
8144c9581d Use the samen render common template for user pages 2018-11-20 22:11:53 +01:00
Marcel van der Boom
a82882fddc Put the highlight logic into one common template
It now loads unconditionally and highlights all code blocks.

TODO: optimize to not load when there are no blocks
2018-11-20 21:51:39 +01:00
Matt Baer
3609e8065b Fix template loading on Windows
Now we join paths correctly on all OSes. This should close #2.
2018-11-09 14:40:47 -05:00
Matt Baer
a30fc5b52b Add handler, page, template loading 2018-11-07 23:50:50 -05:00