A static site generator written in Rust to create a simple blog from Markdown files.
orion init [PATH]
: create a directory to start a new Orion blog (with a few fake posts)orion post [SLUG]
: create a new Markdown postorion build
: export the Markdown to htmlorion serve [-b|--build]
: optionnaly build and start a local server to show your blogorion --version
: display the current version of OrionYou can use the --help
or -h
flag for each action to know more
.
├── posts
├── config.toml
├── public
├── static
└── themes
/posts
Contains all the markdown files for your posts
config.toml
The configuration of your site
/public
The build directory (the files that will be deployed into production)
/static
All the assets you want to use (images for posts, for exemple)
/themes
It contains the different themes you can use, each folder representing a them with it's own assets: html layout, css, images, ...
You can use the following values in your posts, which will be located at the top of the file in between ---
.
title: My great title description: This is a small summary of my post published_at: 2022-11-01 11:12:13
The actual markdown content ```
The favicon was made by Denis Moskowitz from the Noun Project.