Commit graph

38 commits

Author SHA1 Message Date
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
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
d69275ce29 Render an RSS feed 2019-12-10 21:52:10 -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
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
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
a552d28c0a Rearrange some files 2019-12-03 19:46:30 -08:00
e53fda0851 Stop writing temporary files when shelling out to less 2019-12-03 18:20:24 -08:00
98d8a2750f Rearrange files and update the plan 2019-12-03 18:20:24 -08:00
72bbc433eb Refactor site generator and add plugin to render projects 2019-12-03 08:44:32 -08:00
c4f7af1684 Ignore .gitkeep and .DS_Store files 2019-12-01 22:46:54 -08:00
b2ca0ab0fd Format the about page correctly 2019-12-01 22:25:27 -08:00
64d24fa8eb WIP: port static markdown files in public root 2019-12-01 21:46:39 -08:00
cc1c97b4a1 Factor out a method 2019-12-01 21:28:52 -08:00
0091566f00 WIP: Simplify by removing known pages for now 2019-12-01 21:24:56 -08:00
4785f241c8 WIP: Render known pages and get template in place 2019-12-01 21:08:21 -08:00
55fc0ff693 Add support for rendering CSS from Less 2019-12-01 16:51:51 -08:00
5c47b83da6 Add more tests and fix a bug 2019-12-01 15:54:54 -08:00
2ce8d2f376 Make the site generator recursively render public files
- Now renders markdown

- Separates templates from content now
2019-12-01 15:43:49 -08:00
ea2b53d625 Make the site generator render index.html with a layout 2019-12-01 14:44:06 -08:00
4c15bef55b Update the Swift migration plan 2019-12-01 11:22:13 -08:00