Brian Picciano
5559e01343
Implement asset.Loader
...
This moved a bunch of logic out of http and into the asset package,
making it available for gmit too.
1 year ago
Brian Picciano
861070f74d
Prefix html title tag for posts with their title
1 year ago
Brian Picciano
6b3933282e
Refactor URL construction a bit
...
BlogHTTPURL and BlogGeminiURL are now used specifically to construct
absolute URLs to their respective endpoints.
1 year ago
Brian Picciano
024f514886
Add BlogHTTPURL preprocess function
1 year ago
Brian Picciano
c4520f2c84
Automatically bridge gemini links to a gateway on http site
1 year ago
Brian Picciano
ffdd9520b9
Implement preprocessing of post bodies for gemini
1 year ago
Brian Picciano
c23030733f
Add support for gemtext posts
1 year ago
Brian Picciano
ceab45fefa
Increase posts per page
1 year ago
Brian Picciano
7943865cc6
Move mediocregopher.com content to index of this site
1 year ago
Brian Picciano
1f3ae665ed
Introduce EDIT and MANAGE methods
...
All admin "index" pages are moved under MANAGE, so that we can have (for
example) and normal "GET /posts" page later which would replace the
current index page, and potentially corresponding pages for the other
categories.
The EDIT method replaces the old `?edit` pattern, which normalizes how
we differentiate page functionality generally.
1 year ago
Brian Picciano
d957041113
Make description an optional field
2 years ago
Brian Picciano
4f01edb923
move src out of srv, clean up default.nix and Makefile
2 years ago
Brian Picciano
f365b09757
implemented draft publishing and removed New Posts link/capability
2 years ago
Brian Picciano
c3135306b3
drafts functionality added, needs a publish button still
2 years ago
Brian Picciano
dfa9bcb9e2
WIP
2 years ago
Brian Picciano
7335295dc0
Fix rendering errors near script tags
2 years ago
Brian Picciano
180575fe4a
Fix post body templates not being parsed correctly
2 years ago
Brian Picciano
01424c7dab
Standardize URL generation across the blog
2 years ago
Brian Picciano
e269b111a1
List existing tags on edit post page
2 years ago
Brian Picciano
3059909deb
Publish new posts to mailing list
2 years ago
Brian Picciano
1181af0318
Don't use EDIT method, only POSTs should use alt methods
2 years ago
Brian Picciano
47d4787907
Always return results in time desc order from PostStore
2 years ago
Brian Picciano
1ffda21ae3
Implement ratelimit on authentications
2 years ago
Brian Picciano
af434077ef
Implement image macro for rendering images
2 years ago
Brian Picciano
09acb111a2
Rename api package to http
2 years ago
Brian Picciano
f69ed83de7
Add preview button to edit post page
2 years ago
Brian Picciano
2c4b617dde
Implement saving of new and edited posts
2 years ago
Brian Picciano
75044eef03
Implement edit post page
2 years ago
Brian Picciano
0bc0204f0b
Implement post deleting
2 years ago
Brian Picciano
1242be7cfe
Implement posts index page
2 years ago
Brian Picciano
5a99778187
Scatter render.go contents everywhere
2 years ago
Brian Picciano
e41ff2b897
Implement index handler
...
This involved re-arranging how templates are being parsed, slightly.
2 years ago
Brian Picciano
4c04177c05
Move template rendering logic into api package
2 years ago
Brian Picciano
7e87c09c50
Add /posts handler to api
2 years ago