1
0
Fork 0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-05-14 16:36:04 +02:00
A simple static site generator
Go to file
Edd Salkield ade84c9358 templates.go: Support default base templates
If a base template is not found in the current directory, look for a
default base template at templates/_default/base.ext.

Also prevent partial templates from inheriting from base templates.
2022-09-27 11:42:14 -04:00
docs Remove version command 2022-07-06 08:59:49 -04:00
templates/_default templates/_default/atom.xml: Add required links 2022-09-24 11:09:04 -04:00
.gitignore Add documentation 2020-11-10 19:34:05 -05:00
COPYING Use GPLv3 license 2020-11-10 19:39:56 -05:00
Makefile Makefile: make POSIX-compliant 2022-07-06 09:18:16 -04:00
README.md Update README.md 2021-06-26 02:09:15 -04:00
config.toml config.toml: Update input_dir 2022-02-09 19:10:50 -05:00
frontmatter.go frontmatter: Allow CRLF line endings 2022-06-14 17:42:23 -04:00
frontmatter_test.go frontmatter: Allow CRLF line endings 2022-06-14 17:42:23 -04:00
funcs.go funcs.go: Add mathematical functions 2022-07-04 13:16:24 -04:00
go.mod Use github.com/google/shlex to parse commands 2022-02-09 00:30:45 -05:00
go.sum Use github.com/google/shlex to parse commands 2022-02-09 00:30:45 -05:00
main.go Show the task for which the error occured 2022-09-24 11:42:16 -04:00
page.go page: Don't fallback to base template 2022-09-25 10:56:07 -04:00
site.go page: Add GetPage function 2022-06-27 14:15:10 -04:00
templates.go templates.go: Support default base templates 2022-09-27 11:42:14 -04:00

kiln

A simple static site generator.

Tutorial

Features

  • Simple
  • Extensible
  • Gemini support
  • Atom feeds
  • Go templates

Installation

First install the dependencies:

  • Go 1.16 or later
  • scdoc

Then compile:

$ make
# make install

Usage

See kiln(1)

For a general introduction, see the website.

Contributing

For end-user discussion and questions, start a thread on ~adnano/kiln-discuss.

Send patches to ~adnano/kiln-devel.

Subscribe to release announcements on ~adnano/kiln-announce.