1
0
Fork 0
Commit Graph

69 Commits

Author SHA1 Message Date
Alexander Andreev 7a8b7964ec
I modified templates to include a base.jade, and to alter blocks defined in a base with block append.
But jade behave that that blocks are actually being appended to theirs places, but they are also being included to the end of a file. So, I had to manually modify resulted .jade.go files.
2022-06-14 18:45:23 +04:00
Alexander Andreev 6a9c5d0655
Added flags for using of a standard library to a jade compiler. 2022-06-14 18:40:21 +04:00
Alexander Andreev c90939eeac
Fixed var type in an index template. 2022-06-13 20:55:52 +04:00
Alexander Andreev c81f57767c
Pre-generated templates. 2022-06-13 20:24:17 +04:00
Alexander Andreev 55c964fa86
Jade's helper library for templates. 2022-06-13 20:02:33 +04:00
Alexander Andreev dc7652a137
Removed code for old template compiling. Added go:generate commands to generate template functions. 2022-06-13 20:02:12 +04:00
Alexander Andreev 677aaa288a
Unfortunately, Jade cannot extend templates. Instead you must include parts. 2022-06-13 20:00:49 +04:00
Alexander Andreev 09eaecd8ed
Assets and templates are moved to root/web. 2022-05-25 00:28:33 +04:00
Alexander Andreev d142bbcd7d
Templates are moved off to root/web directory. 2022-05-25 00:27:30 +04:00
Alexander Andreev 61dae0e57f
Moved web dir inside internal/handlers for go:embed. 2022-02-08 17:44:49 +04:00
Alexander Andreev ebc4442540
New Jade templates. 2022-02-08 04:24:20 +04:00
Alexander Andreev 907bdeffcc
Updated CSS style. 2022-02-08 04:24:04 +04:00
Alexander Andreev 435c32c500
Remove Amber templates. 2022-02-08 04:22:41 +04:00
Alexander Andreev 6a8da44ee5
Superior 404 template. xDDD 2022-02-07 23:10:10 +04:00
Alexander Andreev 3b851637e5
Added blocks head and header in base.amber. 2022-02-07 23:09:49 +04:00
Alexander Andreev d893a9492b
A NotFound page template. 2022-02-07 22:52:20 +04:00
Alexander Andreev 473b23cbb0
Amber templates. 2022-02-07 04:49:10 +04:00
Alexander Andreev 7fd1fe0c21
Add favicon.sbg. 2022-02-07 04:48:54 +04:00
Alexander Andreev 532e786cae
Add main.css. 2022-02-07 04:48:44 +04:00