Add /index.html to unadorned alias paths

Bring code to be better in line with documentation.
This commit is contained in:
Noah Campbell
2013-09-13 14:46:34 -07:00
parent 803a0fce1e
commit d45fb72f67
5 changed files with 37 additions and 25 deletions

View File

@@ -34,17 +34,17 @@ import (
)
type Page struct {
Status string
Images []string
Content template.HTML
Summary template.HTML
RawMarkdown string // TODO should be []byte
Params map[string]interface{}
contentType string
Draft bool
Aliases []string
Tmpl bundle.Template
Markup string
Status string
Images []string
Content template.HTML
Summary template.HTML
RawMarkdown string // TODO should be []byte
Params map[string]interface{}
contentType string
Draft bool
Aliases []string
Tmpl bundle.Template
Markup string
PageMeta
File
Position