blogging platform in Go
Find a file
Naman Sood 90fc188eb2 deploy the tailscale GA post via the tailscale GA
Signed-off-by: Naman Sood <mail@nsood.in>
2021-05-18 22:55:21 -04:00
.github/workflows .github: only run tests on main 2021-04-28 17:24:00 -04:00
posts deploy the tailscale GA post via the tailscale GA 2021-05-18 22:55:21 -04:00
static static: add favicon 2021-03-19 01:12:15 -04:00
styles styles, templates: dark mode 2021-03-24 19:31:13 -04:00
templates templates: show page-specific title in og:title field 2021-04-26 00:34:31 -04:00
.gitignore update hello world some more 2021-03-19 21:35:36 -04:00
errorCatcher.go errorCatcher: set Content-Type authoritatively 2021-03-20 18:07:11 -04:00
go.mod server: use different listener for better inotify events 2021-03-02 22:32:20 -05:00
go.sum server: use different listener for better inotify events 2021-03-02 22:32:20 -05:00
listener.go move listener logic into separate file 2021-04-24 03:03:57 -04:00
post.go post: incorrect use of defer 2021-03-19 01:31:20 -04:00
prose.go Initial commit - read and serve markdown and static files 2021-02-06 16:27:00 -05:00
README.md Load HTML templates and SCSS styling 2021-02-15 02:31:18 -05:00
server.go server: don't take mutex lock where not necessary 2021-05-02 00:04:11 -04:00
style.go seperate styles logic 2021-04-24 03:02:19 -04:00
template.go separate template logic into own file 2021-03-15 23:36:00 -04:00

Prose

Prose is a blogging platform written in Go, which I am building to serve my own blog.

Usage

Blog posts should be created in the format title-slug.md. Work in progress posts should be stored as WIP-title-slug.md. Static content should be stored in the static/ folder, appropriately arranged.

Posts will be served as /title-slug, and files like static/random/file/structure.txt will be served as /random/file/structure.txt. When title slugs and static files conflict, slugs will have higher precdence.

To start the server:

go run .

Server will be live on port 8080.