blog
Blog
Source code for my (eventual) blog at mikebelanger.ca
How it works
input/pages
are html pages that get top-level access. Add a page by adding an html file, and title it with a<title></title>
tag.input/posts
are markdown pages that get compiled into html for the blog section. Add a blog post by adding a markdown file.
To build
- Ensure you have a recent-ish version of Crystal. I'm using
1.10.1 (2023-10-25)
. cd
into this dir, and goshards install
.- Build the blog-builder binary like
crystal build build_site.cr
- Run the compiled binary (this command probably looks different on Windows):
./build_site
- An output directory should get created with all the necessary files, including the
index.html
.
Repository
blog
Owner
Statistic
- 0
- 0
- 0
- 0
- 3
- 10 months ago
- December 13, 2023
License
Links
Synced at
Mon, 18 Nov 2024 06:55:48 GMT
Languages