https://github.com/jottenlips/amino-ssg
π¦ Sweet simple static site generator
https://github.com/jottenlips/amino-ssg
Last synced: 5 months ago
JSON representation
π¦ Sweet simple static site generator
- Host: GitHub
- URL: https://github.com/jottenlips/amino-ssg
- Owner: jottenlips
- Created: 2023-11-28T03:56:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T19:33:42.000Z (over 1 year ago)
- Last Synced: 2026-02-06T03:42:13.490Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
Awesome Lists containing this project
README
```
ββ β’
β£β«ββ³ββββββ
ββββββββββ
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](https://jottenlips.github.io/)
[Repo](https://github.com/jottenlips/jottenlips.github.io)
## π 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
```