blog
Blog
Source code for my (eventual) blog at mikebelanger.ca
How it works
input/pagesare html pages that get top-level access. Add a page by adding an html file, and title it with a<title></title>tag.input/postsare 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). cdinto 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
- almost 2 years ago
- December 13, 2023
License
Links
Synced at
Mon, 27 Oct 2025 17:28:01 GMT
Languages