Commit graph

72 commits

Author SHA1 Message Date
cd7f71c48b styles, templates: dark mode
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-24 19:31:13 -04:00
edd3bd1c49 errorCatcher: set Content-Type authoritatively
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-20 18:07:11 -04:00
809186ec09 update hello world some more
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 21:35:36 -04:00
810af7fec0 post: incorrect use of defer
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 01:31:20 -04:00
b59eea8657 posts/hello-world: correct myself a bit re: routing
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 01:23:40 -04:00
d931421929 static: add favicon
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 01:12:15 -04:00
a6bebc92e8 templates: point navbar to reasonable places
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 00:27:16 -04:00
083d33b1ae posts: hello world
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-19 00:25:55 -04:00
048c06ac66 separate template logic into own file
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-15 23:36:00 -04:00
ef112be9bd rename 'pages' to 'posts' and move functionality into own file
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-15 22:47:07 -04:00
00f27f0cbe markdown hotplugging
Signed-off-by: Naman Sood <mail@nsood.in>
2021-03-15 19:20:25 -04:00
ab5aae8bd1 server: use different listener for better inotify events 2021-03-02 22:32:20 -05:00
c5b1e0363e server: watch for changes in templates and stylesheets
Signed-off-by: Naman Sood <mail@nsood.in>
2021-02-26 00:12:21 -05:00
038695d123 stop using ioutil
Signed-off-by: Naman Sood <mail@nsood.in>
2021-02-19 18:02:02 -05:00
f223051b68 server: separate rendering logic per file
Signed-off-by: Naman Sood <mail@nsood.in>
2021-02-19 17:45:30 -05:00
b6a55d142a html: add 'responsive' meta tag 2021-02-17 00:58:28 -05:00
54d26dcaa4 css: fix heading styles 2021-02-17 00:57:54 -05:00
2cf6d91ff5 custom error page support 2021-02-17 00:57:16 -05:00
8afaaa10d2 server: reorganize code into smaller functions 2021-02-16 23:50:57 -05:00
fda0b95132 css: remove unused variable 2021-02-15 18:01:03 -05:00
d347551455 Load HTML templates and SCSS styling 2021-02-15 02:31:18 -05:00
8daaa1b330 Initial commit - read and serve markdown and static files 2021-02-06 16:27:00 -05:00