Gallery SSG

Galley#

Gallery Static Site Generator

Setup#

  1. Add an assets folder like this:
assets
├── art-piece-1
│   ├── img.jpg
│   └── manifest.toml
└── art-piece-2
    ├── img.jpg
    └── manifest.toml  
  1. Populate the manifest.toml like this:
name = "My Epic Art"
tags = ["body horror", "epic"]
alt = "Foo bar"

[[image]]
src = "./img.jpg"
  1. cargo run

  2. Serve a static webserver from ./dist