Commit graph

656 commits

Author SHA1 Message Date
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
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
447da5fdc1 Fix page titles 2019-12-03 18:20:24 -08:00
98d8a2750f Rearrange files and update the plan 2019-12-03 18:20:24 -08:00
27df7f899d Migrate projects to the new site generator 2019-12-03 08:45:56 -08:00
4e9c53a2f4 Remove console.log from various scripts 2019-12-03 08:45:34 -08:00
72bbc433eb Refactor site generator and add plugin to render projects 2019-12-03 08:44:32 -08:00
9f8c1480ef Update plan 2019-12-02 21:31:53 -08:00
810e7ed74d Update plan 2019-12-01 22:54:12 -08:00
7f8abac24b Stop wrapping text manually in about page 2019-12-01 22:48:35 -08:00
545f3b89ae Fix compiling via Makefile and remove public/_data.json 🎉 2019-12-01 22:48:21 -08:00
95a240cbf5 Delete site before generating a new version 2019-12-01 22:47:07 -08:00
c4f7af1684 Ignore .gitkeep and .DS_Store files 2019-12-01 22:46:54 -08:00
c2c28953ec Format the cv page correctly 2019-12-01 22:37:54 -08:00
b2ca0ab0fd Format the about page correctly 2019-12-01 22:25:27 -08:00
acad65d1a5 A few details 2019-12-01 22:05:05 -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
6280bd6a20 Tweak samhuri.net templates and rename Less files 2019-12-01 16:52:14 -08:00
55fc0ff693 Add support for rendering CSS from Less 2019-12-01 16:51:51 -08:00
89c2d37f16 Start migrating layout and root files to the new generator 2019-12-01 16:02:32 -08:00
5c47b83da6 Add more tests and fix a bug 2019-12-01 15:54:54 -08:00
bd41c00f3a Rename test 2019-12-01 15:49:45 -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
b11e0686ad remove sitegen binary 2019-12-01 14:45:56 -08:00
ea2b53d625 Make the site generator render index.html with a layout 2019-12-01 14:44:06 -08:00