An open API service indexing awesome lists of open source software.

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

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
```