feat: serve rendered pages over http, spartan and nex
This commit is contained in:
parent
46f12b10da
commit
2f38b8b929
30 changed files with 2896 additions and 90 deletions
23
itsybitsy.toml
Normal file
23
itsybitsy.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
version = 1
|
||||
|
||||
[site.demo]
|
||||
root = "./content"
|
||||
hosts = ["localhost", "127.0.0.1"]
|
||||
|
||||
[listener.web]
|
||||
protocol = "http"
|
||||
bind = "127.0.0.1:8080"
|
||||
formats = ["xhtmlmp", "html"]
|
||||
default_site = "demo"
|
||||
|
||||
[listener.spartan]
|
||||
protocol = "spartan"
|
||||
bind = "127.0.0.1:3000"
|
||||
formats = ["gemtext"]
|
||||
default_site = "demo"
|
||||
|
||||
[listener.nex]
|
||||
protocol = "nex"
|
||||
bind = "127.0.0.1:1900"
|
||||
formats = ["gemtext"]
|
||||
site = "demo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue