Commit graph

705 commits

Author SHA1 Message Date
53c5ca3032 Add more info to errors about missing metadata 2019-12-25 06:08:45 +00:00
2d8fc2cfa3 Fix post template 2019-12-25 06:06:41 +00:00
1e8330dda4 Update plan 2019-12-24 00:07:44 +00:00
8ea53b91d8 Merge branch 'master' into swift-experiment 2019-12-23 00:04:07 -08:00
be7cbb4264 make publish script work on Ubuntu 2019-12-23 07:57:06 +00:00
4318c0b903 Render all posts pages and RSS feed with Plot and drop Stencil 2019-12-22 19:48:10 -08:00
f5aa5d71b3 Fix serve task 2019-12-22 17:15:25 -08:00
9d37bc2861 Final bootstrap tweak 2019-12-22 14:59:38 -08:00
07af1878be Fix and improve bootstrap script 2019-12-22 14:57:39 -08:00
0018174306 More Makefile changes 2019-12-22 14:46:22 -08:00
bc6fc8bb68 Update bootstrap to install Swift on Linux 2019-12-22 14:22:30 -08:00
4626731919 Update plan and delete stray file 2019-12-22 14:22:12 -08:00
ffeea907b5 Make TextMate ignore all the Swift projects 2019-12-22 14:01:23 -08:00
d68014345a Stop failing when the target dir exists, just clobber it 2019-12-22 14:01:10 -08:00
2cdedfa348 Add "debug" make target and other tweaks 2019-12-22 14:00:56 -08:00
0c17d5c543 Migrate projects plugin from Stencil and JSON to Swift 2019-12-22 13:46:43 -08:00
640c76d967 Extract templates from PageRenderer 2019-12-22 13:46:43 -08:00
49b03025c6 Add the meow comment back agian 2019-12-22 13:46:43 -08:00
b28b52d75d Make everything else work on Linux 2019-12-22 13:46:29 -08:00
6a0db8febe Make build-gensite work on Linux 2019-12-22 13:36:59 -08:00
8b676c443a Render Markdown pages using Plot instead of Stencil 2019-12-18 23:04:02 -08:00
e22c17e810 Move template rendering from SiteGenerator to samhuri.net
Also renames samhuri_net module to samhuri.net. Vanity!
2019-12-18 00:28:15 -08:00
527e9e6617 Remove irrelevant tests 2019-12-17 22:35:22 -08:00
44fef3fb78 Port site.json to Swift code in samhuri_net module 2019-12-17 10:29:28 -08:00
487875098a Expose adding plugins as a public API on SiteGenerator 2019-12-14 13:15:18 -08:00
1f3be38c5c Convert to a system of 3 Swift packages and clean up some cruft 2019-12-14 13:14:50 -08:00
cac13d3e55 Update plan 2019-12-13 00:02:45 -08:00
d4299f66fa Fix RSS feed with custom XML escaping function 2019-12-12 23:59:10 -08:00
5f2ca2e44d Streamline site generation 2019-12-12 23:42:17 -08:00
fd785fcf2f tabs to spaces 2019-12-12 23:08:01 -08:00
f18778774c Prevent flash of invisible text with font-display: swap 2019-12-12 23:05:13 -08:00
eedba392d1 Optimize stylesheets a bit 2019-12-12 23:04:57 -08:00
9c8591d2e1 Tweak year and month styles in archive and year pages 2019-12-12 22:56:07 -08:00
f7379854e5 Fuck it, stop using Less and just use CSS
Porting to iOS would have been a pain anyway.
2019-12-12 22:28:32 -08:00
0748053a82 Roll the feed plugins into PostsPlugin
You can't have feeds without posts that they link to. Doesn't make sense to have feeds without posts.
2019-12-11 00:18:19 -08:00
23b3d2d625 Add a site URL override for building beta.samhuri.net 2019-12-11 00:01:12 -08:00
fa3ec10345 Make site email optional 2019-12-11 00:00:44 -08:00
1426b4e75b Explicitly activate plugins via site.json 2019-12-11 00:00:05 -08:00
34136951c4 Remove some old scripts that aren't needed 2019-12-10 23:55:23 -08:00
dee7869a21 Update plan 2019-12-10 23:54:21 -08:00
170c44f4fb Remove duplicated code for building URL paths 2019-12-10 23:54:02 -08:00
f9055f82c2 Remove unused baseURL properties 2019-12-10 22:31:59 -08:00
dd96d95fc4 Render a JSON feed 2019-12-10 22:29:32 -08:00
1d0ffd52a2 Rename and simplify RSSFeedWriter
Also uses named references for escaped HTML entities
2019-12-10 22:10:24 -08:00
885e5153ff Fix incorrect Markdown link syntax 2019-12-10 21:52:22 -08:00
d69275ce29 Render an RSS feed 2019-12-10 21:52:10 -08:00
ed9ad222b2 Update plan and compile script 2019-12-10 00:31:37 -08:00
652d192560 Hide .html extensions on all pages by default
This uses the same old page-title/index.html trick that was used before.
2019-12-10 00:27:56 -08:00
d184ed06fa Remove dead TemplateContext protocol 2019-12-09 23:34:39 -08:00
4b3dee6706 Factor most of the code out of PostsPlugin 2019-12-09 23:27:12 -08:00