Initial commit - read and serve markdown and static files

This commit is contained in:
Naman Sood 2021-02-06 16:27:00 -05:00
commit 8daaa1b330
8 changed files with 180 additions and 0 deletions

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# 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 `DATE-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.