vito / booklit

a pretty lit content authoring system
https://booklit.page
MIT License
176 stars 55 forks source link

template 'splash.tmpl' not found #27

Closed LeKovr closed 3 years ago

LeKovr commented 4 years ago

I've tried a steps from README:

$ go get github.com/vito/booklit/cmd/booklit
go: downloading github.com/go-bindata/go-bindata v3.1.2+incompatible
go: downloading github.com/mna/pigeon v1.0.1-0.20200224192238-18953b277063
go: downloading golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8
$ git clone https://github.com/vito/booklit.git
Клонирование в «booklit»
…
$ cd booklit
booklit$ booklit \
>   -i docs/lit/index.lit \
>   -o docs \
>   --html-templates docs/lit/html \
>   --plugin github.com/vito/booklit/docs/go \
>   --plugin github.com/vito/booklit/chroma/plugin
INFO[0000] rendering                                     rendered=docs/index.html section=docs/lit/index.lit
template: page.tmpl:8:10: executing "page.tmpl" at <render>: error calling render: template 'splash.tmpl' not found

Am I doing something wrong?

vito commented 3 years ago

This should work if you run ./scripts/build-docs instead - the site depends on currently unreleased changes, so you have to run the version on master. I'll update the README to use the script instead.