Add example config

This commit is contained in:
Maximilian Friedersdorff 2025-06-18 22:28:43 +01:00
parent 0ed802ba6a
commit c384d86e59
2 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
main
saved_notes
static
conf.toml

View file

@ -1,5 +1,5 @@
extension = "md"
notesdir = "saved_notes"
notesdir = "/var/lib/gonotes/saved_notes"
address = ":8080"
protocol = "tcp"
@ -8,7 +8,9 @@ dir = "templates"
base = "base.tmpl.html"
[static]
dir = "/home/max/src/gonotes/static"
dir = "/var/www/gonotes/static"
# These are not for changing!
root = "/static/"
assets = [
{ path = "css/bootstrap.min.css", url = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" },