40 lines
704 B
Markdown
40 lines
704 B
Markdown
# Site Generator written in Odin
|
|

|
|
|
|
A simple Odin program that is used to generate my site!
|
|
|
|
Note: This is incredibly specific! If you want to use this for your own sites, I think it would be easier to write
|
|
your own! 😅
|
|
|
|
## Usage
|
|
|
|
### Build
|
|
```bash
|
|
odin build .
|
|
```
|
|
|
|
### Usage
|
|
```bash
|
|
> ./cm -h
|
|
|
|
Usage:
|
|
|
|
Flag format for this program:
|
|
-<flag>=<value>
|
|
|
|
-dir:
|
|
input directory of .MD files (default: ) (required)
|
|
|
|
-out:
|
|
output directory (html files) (default: ) (required)
|
|
```
|
|
|
|
### Todo
|
|
* Indexing Articles and Blogs
|
|
* Page tagging
|
|
* Animated ASCII (Can this be done with minimal JS?)
|
|
|
|
### Credits
|
|
* Odin
|
|
* cmark
|