Commit Graph

95 Commits

Author SHA1 Message Date
mainnika 638cf787af Upgrade go mod packages 2021-12-03 04:21:08 +01:00
mainnika 393f63757a Render scroll icon near the pinned post 2021-12-03 04:20:26 +01:00
mainnika 9b43855d07 Render pages pagination 2021-12-03 04:19:53 +01:00
mainnika b0d49ffe3b Render blog posts data 2021-12-03 04:18:51 +01:00
mainnika d6905b0d15 Render latests posts content on index template 2021-12-03 04:17:21 +01:00
mainnika 58c55e4659 Render pinned post on index template 2021-12-03 04:15:58 +01:00
mainnika 823adde655 Render menu header template 2021-12-03 04:14:37 +01:00
mainnika 8f4d4ff1ba Implement template helper funcs 2021-12-03 04:11:38 +01:00
mainnika 422bcbf82c Add header go html template 2021-12-03 04:10:14 +01:00
mainnika f3ed0ccc0a Add content title and description helpers 2021-12-03 04:07:46 +01:00
mainnika 7a694bcbe8 Load blog page data as the content 2021-12-03 04:05:29 +01:00
mainnika 47029b5a4c Load index page data as the content 2021-12-03 04:04:55 +01:00
mainnika ea58971e86 Add content config to renderer handler 2021-12-03 04:03:51 +01:00
mainnika d017015662 Add ghost client to renderer handler 2021-12-03 04:01:50 +01:00
mainnika 7819567e78 Implement ghost query params helpers 2021-12-03 04:00:18 +01:00
mainnika 20d0108b55 Add ghost backend get-post-by-slug request 2021-12-03 03:59:33 +01:00
mainnika 85ade84d3d Add ghost backend get-posts request 2021-12-03 03:59:33 +01:00
mainnika 7fbb921516 Add ghost backend get-page-by-slug request 2021-12-03 03:59:33 +01:00
mainnika ea9d93443f Generate easyjson helpers for ghost data 2021-12-03 03:56:57 +01:00
mainnika 78b82f5cc5 Describe the ghost data structures 2021-12-03 03:55:58 +01:00
mainnika 29124c0490 Implement generic http query 2021-12-03 03:53:15 +01:00
mainnika e3c87d5eff Initialize http client handler 2021-12-03 03:48:40 +01:00
mainnika ec51d18cd6 Add ghost client interface 2021-12-03 03:41:37 +01:00
mainnika c1b2b721e6 Redirect root url to index 2021-12-03 03:15:03 +01:00
mainnika 48df063c86 Render empty index template 2021-12-03 03:14:47 +01:00
mainnika e853eea486 Render empty blog template 2021-12-03 03:09:11 +01:00
mainnika a04066148f Implement any-error handler 2021-12-03 03:04:27 +01:00
mainnika f0b3d34c05 Add not-found error handler 2021-12-03 03:01:48 +01:00
mainnika d9ab404cf2 Implement the renderer routing basics 2021-12-03 02:58:37 +01:00
mainnika bcb9d77de0 Implement template writer helper 2021-12-03 02:50:31 +01:00
mainnika 156c3fd2cc Implement function that resolves mapping between content and template 2021-12-03 02:44:21 +01:00
mainnika 1d970ddcd7 Add empty content data that is mapped to templates 2021-12-03 02:40:39 +01:00
mainnika edf7192fac Add basic blog and index go template markups 2021-12-03 02:35:57 +01:00
mainnika db2efebddf Add error go template markup 2021-12-03 02:33:38 +01:00
mainnika 5b2eab10f0 Parse compiled-in go templates on app start 2021-12-03 02:27:21 +01:00
mainnika d741e0aa8e Add frontend URLs 2021-12-03 02:27:21 +01:00
mainnika e98fdf569c Add fake server identity 2021-12-03 02:27:21 +01:00
mainnika b106844c22 Listen http server in main thread 2021-12-03 02:27:21 +01:00
mainnika c20306c118 Unmarshal config values into app struct 2021-12-03 02:27:21 +01:00
mainnika 2e56c1daa6 Print app version if requested by flags 2021-12-03 02:16:22 +01:00
mainnika 4dd55ccc78 Read config file values from yaml 2021-12-03 02:15:05 +01:00
mainnika 1105ce3ebd Initialize config default values on app start 2021-12-03 02:07:55 +01:00
mainnika e0f5edd51a Describe frontend app configuration 2021-12-03 00:52:05 +01:00
mainnika ee0db5daa4 Initialize go mod app 2021-12-03 00:47:00 +01:00
mainnika 3d9c0669c5 Initial commit 2021-12-03 00:41:58 +01:00