这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@akkartik
Copy link

I've not been able to find an authoritative static site generator for Lua, so am suggesting something I've been using for several years that I just published. Works with Lua 5.1-5.4, requires no other dependencies. Unlike most such tools, this doesn't take on additional dependencies to support markdown. Instead I build my website https://akkartik.name using raw HTML.

If one is willing to edit HTML, what can an SSG provide? The answers I've come up with so far are:

  • Giving pages on a site a shared look and feel using a minimal template.
  • Stitching pages together into index pages with pagination.
  • Autogenerating RSS and HTML Journal feeds so readers can be notified of new posts.

This tool provides one 150 line script for each of these concerns. Each script can be used independently of the others. For example I generate two sets of index pages on my site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant