mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Update README.md
This commit is contained in:
parent
6d5e72513b
commit
5653a24125
|
@ -34,7 +34,7 @@ dst/ Site destination
|
||||||
```
|
```
|
||||||
|
|
||||||
Running `kiln` takes the contents in `src`, runs them through the templates in
|
Running `kiln` takes the contents in `src`, runs them through the templates in
|
||||||
`templates`, and outputs the result to `dst`.
|
`templates`, and writes the result to `dst`.
|
||||||
|
|
||||||
## Pages
|
## Pages
|
||||||
|
|
||||||
|
@ -87,8 +87,7 @@ src/posts/post-1.gmi
|
||||||
src/posts/post-2.gmi
|
src/posts/post-2.gmi
|
||||||
|
|
||||||
$ cat templates/directory.gmi
|
$ cat templates/directory.gmi
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}=> .Permalink
|
||||||
=> .Permalink
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
$ cat dst/posts/index.gmi
|
$ cat dst/posts/index.gmi
|
||||||
|
|
Loading…
Reference in a new issue