This repository contains a simple static site generator for hicksca.dev, built using Lua.
.
├── assets/
│ ├── css/
│ │ └── style.css
│ └── img/
│ └── (various image files)
├── content/
│ └── about.md
├── license
├── README.md
├── shell.nix
├── staticGen.lua
└── template.html
(not all this needs to be push will clean this up mostly for ref at the moment)
nix related commands are optional you can manuall install lua and dependances
- lua (LuaRocks)
- luafilesystem
- html-tidy
- Clone this repository.
- Run
nix-shell
to set up the development environment and manage dependencies. - Generator script is
staticGen.lua
.
- Edit the content in
content/about.md
. - Modify the HTML template in
templates/template.html
if needed. - Run the generator:
lua staticGen.lua
- The generator will create an
index.html
file based on the content and template.
- Set up Git hook to deploy to local test environment
- Implement basic automated testing/linting
(more stuff to come as I think about it ...)