1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-15 00:37:10 +00:00
Commit Graph

253 Commits

Author SHA1 Message Date
5db4067caf Remove libsass, add hooks which enable to use custom commands to generate css from scss, but much more, also less dependencies 2020-09-20 18:46:25 +02:00
9846cf2211 Rework template initialization, load all templates from template directory 2020-09-20 17:47:54 +02:00
bf28e34038 Make menu config map, not list 2020-09-20 17:28:24 +02:00
bba5eaa078 Fix taxonomies, post order etc. 2020-09-19 14:56:31 +02:00
f38e8e5a20 Add Menu 2020-09-19 13:37:58 +02:00
21670a0ccc Use cast library for Hugo import 2020-09-19 13:07:58 +02:00
80b3b604c0 Fix asset handling 2020-09-19 12:57:14 +02:00
377bf496c2 Asset handling with minification, fingerprinting and Cache-Control headers 2020-09-19 12:27:07 +02:00
54acbc5808 Fix emojis 2020-09-18 13:11:25 +02:00
70f220e693 API endpoint to read posts
API endpoint to create posts from Hugo markdown file
Method to create redirects
Dependency updates
...
2020-09-18 12:34:52 +02:00
4f71a2a090 Add method to generate post summaries, extend feeds 2020-09-15 17:01:53 +02:00
4b7507c781 Change feed behavior (.rss, .json, .atom) 2020-09-14 16:07:37 +02:00
e1a77bf48a Index template: Link to feeds in head 2020-09-02 17:56:18 +02:00
341d9ab3f5 Add RSS/Atom/JSON Feed 2020-09-02 17:48:37 +02:00
4cc33c91db List taxonomy values below post 2020-09-01 19:08:57 +02:00
4b066d5ea1 "Urlize" taxonomy values in path 2020-09-01 18:53:21 +02:00
1d31cbe20a Taxonomies, sections and blog with title and description 2020-09-01 18:14:49 +02:00
484da515aa Taxonomies! 2020-08-31 21:12:43 +02:00
c98f3eaca2 Sections 2020-08-25 20:55:32 +02:00
8c5be81403 Fix pagination and sort by updated column 2020-08-25 20:02:02 +02:00
1f53b21865 Update dependencies 2020-08-25 20:00:54 +02:00
b60fce2fbb Rename method 2020-08-24 21:19:36 +02:00
a4a01d2c67 Lower case for all sql 2020-08-24 21:18:09 +02:00
5bb295b4ed Simplify emojify 2020-08-24 21:09:30 +02:00
caad3415c0 Add custom pagination adapter to use less memory and be faster 2020-08-24 20:49:33 +02:00
7a8cfb1f05 Add pagination to index 2020-08-05 19:54:04 +02:00
626000ab96 Add simple index (or /blog) site 2020-08-05 19:23:39 +02:00
fa10bd03d3 Add method to request all posts, optimize query to only execute one db query 2020-08-05 18:41:45 +02:00
31591d694c Simplify configuration initialization 2020-08-04 19:42:09 +02:00
e3b346acf7 Add automatic HTTPS 2020-08-01 17:49:46 +02:00
c69480a824 Basic auth, delete posts via api, purge cache after post create / delete 2020-08-01 15:16:21 +02:00
b2072fddd2 Flatten redirect chains using recursive sql query 2020-08-01 11:39:24 +02:00
484ca8948a Add API to allow creating posts 2020-07-31 21:44:16 +02:00
12c4415cd3 Fix rendering, render 404 errors, flatten redirects 2020-07-31 21:02:47 +02:00
0175ce1729 Move buffering and execution of templates to own func 2020-07-31 19:46:12 +02:00
c3449faec6 Minify HTML of posts 2020-07-31 16:23:29 +02:00
e761e20fdc Initial state of rendering 2020-07-31 15:48:01 +02:00
9193c4f656 Update Goldmark 2020-07-30 21:57:19 +02:00
c0c4fa04e0 Various code improvements 2020-07-30 21:18:58 +02:00
e8bf6af11b Cache supports conditional requests 2020-07-30 21:08:41 +02:00
c558f46e32 VACUUM db on close 2020-07-30 16:47:46 +02:00
65ce24d410 Cache middleware now records the response and writes that to the DB 2020-07-30 16:43:04 +02:00
2639cd9f3b Use GetHead middleware 2020-07-30 15:58:05 +02:00
7becbd6aad Implement basic db-based cache 2020-07-29 22:45:26 +02:00
6c4a9476b4 Posts can have parameters 2020-07-29 18:28:51 +02:00
00add1c312 Fix 2020-07-29 17:55:10 +02:00
afab7686f8 Add redirects table and simple redirect functionality 2020-07-29 17:39:46 +02:00
8dbf795902 Allow root post 2020-07-29 17:26:33 +02:00
9ee3c0c730 Configure routes based on post paths from DB 2020-07-29 17:17:48 +02:00
04ec81a43b Switch to chi 2020-07-29 16:41:36 +02:00