A static site generator written in Lua. It processes Markdown files and generates a static blog website.
Inspired by Nextra.
Check a working example here.
luarocks install luxtra
-
generate the placeholder
luxtra generate
-
build the html files
luxtra build
In the file luxtra.config.json
, you can change the title
of your blog and change to a different theme
.
- you need to write your posts in the
pages/
folder using markdown - the
luxtra build
command will generate a folderdocs
(so you can deploy using github pages)
Currently there's only one theme (default).
Themes inspired by dead simple sites.
- read/process markdown files
- define a header model for each file (frontmatter)
- use info from frontmatter to create a index page
- add themes
-
- light/dark mode
- add cli tools
- publish on luarocks
- add code highlight
- add about page
- add tags support