jottenlips / amino-ssg

πŸ¦€ Sweet simple static site generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

┏┓   β€’    
┣┫┏┳┓┓┏┓┏┓
β”›β”—β”›β”—β”—β”—β”›β”—β”—β”›
static site generator

πŸ¦€ Sweet simple static site generator

I decided to port over the logic of my ReasonML SSG to Rust!

Production

install (coming soon)

generate site

amino markdown public

Development

git clone git@github.com:jottenlips/amino-ssg.git
cargo build
cargo run -- markdown out

Here is an example of using custom base.html.

Blog

Repo

πŸ“‚ File structure

./markdown
└──base.html
└──index.md
└──another-page.md
└──topic.md (index for your folder)
└──/topic
    └──2019-1-1.md
    └──2020-1-1.md
    └──2021-1-1.md

results in

./public
└──index.html
└──another-page/index.html
└──/topic
    └──index.html (topic.md)
    └──2019-1-1/index.html
    └──2020-1-1/index.html
    └──2021-1-1/index.html

About

πŸ¦€ Sweet simple static site generator


Languages

Language:Rust 100.0%