diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2021-10-15 17:38:58 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2021-10-15 17:38:58 +0200 |
commit | e425cd2afeb7e50b62ce4ecb2df6aed839e8c5f0 (patch) | |
tree | 74e51dc5268a34e286f6bf62b474feed073692c6 /weather/weather.go | |
parent | c1d54197d0bd3962b095dea1553a12ada4ad17dd (diff) | |
download | startpage-e425cd2afeb7e50b62ce4ecb2df6aed839e8c5f0.tar.gz startpage-e425cd2afeb7e50b62ce4ecb2df6aed839e8c5f0.tar.bz2 startpage-e425cd2afeb7e50b62ce4ecb2df6aed839e8c5f0.zip |
Make template directory configurable on the command line
The new --template-dir= flag allows the user to optionally specify the
directory where the templates are located. It will default to the old way
of using $GOPATH to find the template directory in the source directory of
startpage. Being able to use --template-dir= can be especially useful, if
you want to launch startpage when $GOPATH is not (yet) defined (e.g. when
using systemd to bring up startpage).
Diffstat (limited to 'weather/weather.go')
0 files changed, 0 insertions, 0 deletions