Commit graph

684 commits

Author SHA1 Message Date
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
5fac69542c Fix various broken parts of posts templates 2019-12-05 09:12:04 -08:00
0a876c0c01 Update the plan 2019-12-05 08:21:25 -08:00
3a771ca83a Remove Content-Security-Policy, it's annoying and not necessary 2019-12-04 23:23:24 -08:00
51e7ea5e78 Remove some cruft 2019-12-04 23:22:11 -08:00
ca145962cc Fix the Makefile 2019-12-04 23:18:21 -08:00
c8dc29a511 Render the post archive at /posts and redirect /archive 2019-12-04 23:17:03 -08:00
5ed68c45f8 Migrate posts back from harp format to markdown with headers once again 2019-12-04 22:09:11 -08:00
4f384e3e4c Update plan 2019-12-04 19:35:14 -08:00
666b926d53 Fix rendering posts by month 2019-12-04 17:48:18 -08:00
38918fe5f9 Render recent posts at /index.html instead of /posts/index.html 2019-12-04 17:47:43 -08:00
085949bd87 Clean up post templates with "include" 2019-12-04 17:46:34 -08:00
09e45c9617 Change the default template name to "page" 2019-12-04 17:28:52 -08:00
9173a09d88 Validate command line args 2019-12-04 17:19:18 -08:00
4a03060c8c Make it work by using dictionaries in template context 👎
This is a work-around but it works.
2019-12-04 17:19:08 -08:00
57de420eee Stop printing so much stuff 2019-12-04 17:18:20 -08:00
b00a48b096 WIP: Add a plugin to render posts, months & years not working yet 2019-12-03 23:17:44 -08:00
947fb4ec3a Move posts and drafts to the top level 2019-12-03 23:17:13 -08:00