Commit Graph

47 Commits

Author SHA1 Message Date
Oliver Booth 577f3b0148
refactor: move BlogPostVisibility to Visibility
shared enum for blog posts and tutorials, and anything else that may need it
2024-02-23 16:50:43 +00:00
Oliver Booth 70f167c9c3
feat: add support for mastodon media 2024-02-23 05:36:31 +00:00
Oliver Booth 279d824772
feat: add mastodon status card 2024-02-23 03:23:57 +00:00
Oliver Booth 940fb2031e
style: improve contrast on topic tags 2024-02-19 23:01:32 +00:00
Oliver Booth 6d572c7b6b
perf!: pre-render post content 2023-09-28 10:58:59 +01:00
Oliver Booth 1200318326
feat: add password protection to blog posts (WEB-3) 2023-09-26 12:46:18 +01:00
Oliver Booth a0fd48e6ca
fix: encode tag for URI (WEB-1)
The tag 'c#' was causing problems since # is a special URI char oops.
2023-09-24 17:15:40 +01:00
Oliver Booth 5283985026
style: add header to blog cards 2023-09-23 22:09:26 +01:00
Oliver Booth a9c4b3a144
feat: display post tags 2023-09-23 22:08:25 +01:00
Oliver Booth 39b455caf0
refactor: call toString on numeric timestamp 2023-09-20 14:49:54 +01:00
Oliver Booth 9885bfaed9
feat: display private/unlisted alert for article 2023-09-20 14:49:02 +01:00
Oliver Booth 73f5e4e4a2
fix: use correct route for /blog?p= redirect 2023-09-20 14:48:26 +01:00
Oliver Booth d114870f87
feat: add links to next and prev articles 2023-09-19 19:29:21 +01:00
Oliver Booth 9e2fa951f1
refactor: use PascalCase for asp-page routes 2023-08-16 14:08:33 +01:00
Oliver Booth d9c6034aa0
fix(blog): link to relative index not root index 2023-08-15 17:04:58 +01:00
Oliver Booth 1cdad4c17c
fix(blog): set post in ViewData for article 2023-08-14 00:58:58 +01:00
Oliver Booth 193b2486a1
refactor(blog): use /blog prefix for article endpoints 2023-08-13 18:12:13 +01:00
Oliver Booth 0a9c2e82d5
refactor: combine sites into one
CORS was "cors"ing some issues (heh).

But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
2023-08-13 17:34:38 +01:00
Oliver Booth c2deccafae
refactor: move blog to new asp area 2023-08-11 14:08:14 +01:00
Oliver Booth cbb7d07844
fix: add missing ViewData title assignment 2023-08-11 02:08:03 +01:00
Oliver Booth 95b7ed0ae7
feat: create partial for spinner, register as handlebars template 2023-08-11 02:06:52 +01:00
Oliver Booth 4244f9f014
fix: add disqus comment counter after posts have loaded 2023-08-10 16:14:48 +01:00
Oliver Booth 506347ce9c
feat: add pre-formatted date "dddd, d MMMM yyyy HH:mm" 2023-08-10 15:32:34 +01:00
Oliver Booth f3ad04ff1f
feat: add disqus comment count injection to asp page 2023-08-10 15:15:36 +01:00
Oliver Booth 217c1d660e
feat: use Handlebars to render template excerpt card 2023-08-10 14:36:51 +01:00
Oliver Booth cb331ff54f
refactor: use - not _ for id word splitter 2023-08-10 14:08:22 +01:00
Oliver Booth 2036970fa2
fix: remove redundant article tag 2023-08-10 04:56:28 +01:00
Oliver Booth 95dd7e51e5
perf: add dynamic fetch of blog posts to speed up page load 2023-08-10 04:56:12 +01:00
Oliver Booth 190e247067
feat: add /raw route to blog posts for markdown output 2023-08-09 23:17:16 +01:00
Oliver Booth 0fa43704ea
style: add alt to author image, reorder anchor attrs 2023-08-08 21:01:13 +01:00
Oliver Booth aaafcaf760
perf: handle content processing in BlogService 2023-08-08 12:46:24 +01:00
Oliver Booth 983e636635
perf: structure query get a bit better 2023-08-08 12:41:12 +01:00
Oliver Booth 9de1a84446
refactor: determine disqus param in model; reduce duplication 2023-08-08 12:40:18 +01:00
Oliver Booth 96ec83e525
feat: add new permalink to all posts 2023-08-08 12:07:30 +01:00
Oliver Booth 7f4ef10960
refactor: delegate id lookup to BlogService 2023-08-08 11:35:22 +01:00
Oliver Booth 6b18b36b96
refactor: get author using BlogService 2023-08-08 11:34:41 +01:00
Oliver Booth 7abc44a58c
feat: use aspnetcore route helper instead of hardcoding url 2023-08-08 02:06:58 +01:00
Oliver Booth 6d40452fb3
feat: display Update timestamp if post has been updated 2023-08-08 02:06:38 +01:00
Oliver Booth 69a6f4a3af
refactor: delegate post lookup to BlogService 2023-08-08 02:06:11 +01:00
Oliver Booth 4a94a404b3
fix: fix legacy 301 route 2023-08-08 01:56:13 +01:00
Oliver Booth b584bb84a2
style: guard clause article page 2023-08-08 01:34:27 +01:00
Oliver Booth 83e5757429
feat: delegate blog listing to BlogService 2023-08-08 01:31:05 +01:00
Oliver Booth b9e7e938ba
refactor: remove references to hljs 2023-08-08 01:17:23 +01:00
Oliver Booth 6524a4f618
feat: inject custom markdown pipeline 2023-08-08 00:34:15 +01:00
Oliver Booth 12309c0bf1
style: improve layout of blog/article 2023-08-08 00:29:39 +01:00
Oliver Booth e5f01f66a9
refactor: add day to article route 2023-08-08 00:21:22 +01:00
Oliver Booth bd999f0ed8
feat: add preliminary /blog routes
This change also introduces toml file config
2023-08-06 15:57:44 +01:00