An implementation of the Nicoletta minimalistic static site generator using the Crystal Language.
Go to file
2023-05-31 22:13:44 -03:00
output Finished 2023-05-31 22:06:56 -03:00
posts Finished 2023-05-31 22:06:56 -03:00
spec Initial commit 2023-05-31 20:18:05 -03:00
src Finished 2023-05-31 22:06:56 -03:00
templates Finished 2023-05-31 22:06:56 -03:00
.editorconfig Initial commit 2023-05-31 20:18:05 -03:00
.gitignore Initial commit 2023-05-31 20:18:05 -03:00
conf Initial commit 2023-05-31 20:18:05 -03:00
journal.md Finished 2023-05-31 22:06:56 -03:00
LICENSE Initial commit 2023-05-31 20:18:05 -03:00
README.md Fill in the blanks in files 2023-05-31 22:13:44 -03:00
shard.yml Finished 2023-05-31 22:06:56 -03:00

nicoletta

Nicoletta is a very (very) minimalistic static site generator I wrote using Python. This repo contains a reimplementation using the Crystal language I did in order to learn the language.

I actually wrote down a journal while doing it, too!

Build and Install

You can build it by running shards build and install it by copying bin/nicoletta somewhere in yout PATH. Why would you do that, I have no idea.

Usage

Running nicoletta will:

  • Read a conf file, which should be YAML
  • Read markdown files from posts/ which have YAML metadata on top
  • Use the template templates/post.tmpl to turn the markdown into a HTML fragment using the post's metadata
  • Use the template templates/page.tmpl to turn that fragment into a HTML page

This repo contains examples for everything :-)

Development

Let's not :-)

Contributing

Why????

Contributors