Commit Graph

25 Commits

Author SHA1 Message Date
Nathan McCarty 200bd42687
refactor: Simplify Site::read 2023-03-21 00:00:13 -04:00
Nathan McCarty 96df281a20
refactor: Simplify Site::write 2023-03-20 23:44:23 -04:00
Nathan McCarty 98b744faa7
fix: Utilize StaticType for Dhall types 2023-03-19 15:53:12 -04:00
Nathan McCarty fc62d8c30c
feat: Validate subcommand 2023-03-19 15:31:25 -04:00
Nathan McCarty 8bdfcaa1d8
feat: Read site repository state
Add a `read` method to Site, Post, and Page that reads the current state
of the site repositor/post/page off of the disk.

Change to using btree collections for deterministic ordering, and make
Site, Post, and Page `Eq` for testability purposes.
2023-03-19 00:30:20 -04:00
Nathan McCarty fc817f1375
feat: Add pre-baked css files for init 2023-03-17 19:30:47 -04:00
Nathan McCarty 534c04bd11
feat: Improve logging 2023-03-17 19:21:33 -04:00
Nathan McCarty ca9d921327
feat: Add gitignore to init 2023-03-17 17:27:39 -04:00
Nathan McCarty aa35459819
feat: Add statics directory to init 2023-03-17 17:27:36 -04:00
Nathan McCarty 76fe128587
feat: Add Post struct 2023-03-16 16:06:39 -04:00
Nathan McCarty 013c5c211b
feat: Working initialization 2023-03-16 15:46:21 -04:00
Nathan McCarty 71f8f71b36
feat: Page::write method 2023-03-16 15:46:16 -04:00
Nathan McCarty 2697989bcc
feat: Site write method 2023-03-16 15:27:36 -04:00
Nathan McCarty b598b7ad71
feat: Default site value 2023-03-16 15:17:58 -04:00
Nathan McCarty f408a32d64
feat: Make init check if the target is non-empty 2023-03-16 14:28:45 -04:00
Nathan McCarty 617acba799
feat: Add site_path method to GlobalArgs 2023-03-16 14:16:06 -04:00
Nathan McCarty 715b578bb9
feat: Basic cli sketch 2023-03-16 00:44:51 -04:00
Nathan McCarty d7c7cffa1b
feat: Create site module 2023-03-15 20:27:00 -04:00
Nathan McCarty 68ccc95345
feat: Create config module 2023-03-15 20:16:09 -04:00
Nathan McCarty 76744c00d4
feat: Create site module 2023-03-15 20:10:33 -04:00
Nathan McCarty 5dd97ee1f7
chore: Configure clippy 2023-03-15 20:06:15 -04:00
Nathan McCarty 9534f40f89
chore: Delete generated boiler plate 2023-03-15 20:01:52 -04:00
Nathan McCarty bdcbd5aa41
doc: Map out directory structure 2023-03-15 19:05:27 -04:00
Nathan McCarty de6e69b2fa
chore: Add basic dependencies 2023-03-14 19:50:55 -04:00
Nathan McCarty 45eacaf058
Initial Commit 2023-03-14 18:51:18 -04:00