Implement per-site index (#1906)

This commit is contained in:
Mohammed Al Sahaf
2017-10-30 00:13:10 +03:00
committed by Toby Allen
parent fc75527eb5
commit f7a70266ed
13 changed files with 110 additions and 24 deletions
+3
View File
@@ -26,6 +26,9 @@ type SiteConfig struct {
// The address of the site
Addr Address
// The list of viable index page names of the site
IndexPages []string
// The hostname to bind listener to;
// defaults to Addr.Host
ListenHost string