diff --git a/templates/project.html b/templates/project.html index 0613dc6..a6b7b01 100644 --- a/templates/project.html +++ b/templates/project.html @@ -1,9 +1,26 @@ {{define "project"}} {{template "layout-page-start" (args "Title" .Title)}} -
-

{{.Title}}

-

{{.ID}}

-
{{.Contents}}
+
+ +
+
+ {{range $pageID, $page := .Pages}} +
+ {{if $.ID}} + + {{end}} +
+ {{end}} +
+ + +
+
+
+ {{template "layout-page-end"}} {{end}}