Add example config
This commit is contained in:
parent
0ed802ba6a
commit
c384d86e59
2 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
main
|
main
|
||||||
saved_notes
|
saved_notes
|
||||||
static
|
static
|
||||||
|
conf.toml
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
extension = "md"
|
extension = "md"
|
||||||
notesdir = "saved_notes"
|
notesdir = "/var/lib/gonotes/saved_notes"
|
||||||
address = ":8080"
|
address = ":8080"
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
|
|
||||||
|
|
@ -8,7 +8,9 @@ dir = "templates"
|
||||||
base = "base.tmpl.html"
|
base = "base.tmpl.html"
|
||||||
|
|
||||||
[static]
|
[static]
|
||||||
dir = "/home/max/src/gonotes/static"
|
dir = "/var/www/gonotes/static"
|
||||||
|
|
||||||
|
# These are not for changing!
|
||||||
root = "/static/"
|
root = "/static/"
|
||||||
assets = [
|
assets = [
|
||||||
{ path = "css/bootstrap.min.css", url = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" },
|
{ path = "css/bootstrap.min.css", url = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" },
|
||||||
Loading…
Add table
Reference in a new issue