Commit graph

15 commits

Author SHA1 Message Date
c9568c39f9 templates: show page-specific title in og:title field
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-26 00:34:31 -04:00
cd57b5cfb2 server: put everything under one mutex
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-24 12:33:06 -04:00
1a267a1bc6 move listener logic into separate file
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-24 03:03:57 -04:00
0373431876 seperate styles logic
Signed-off-by: Naman Sood <mail@nsood.in>
2021-04-24 03:02:19 -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
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
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