diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl new file mode 100644 index 0000000..dae3a25 --- /dev/null +++ b/templates/base/footer.tmpl @@ -0,0 +1,135 @@ +{{/* + + +
+*/}} + + {{template "custom/body_inner_post" .}} + +
+ + {{template "custom/body_outer_post" .}} + + + + +{{if .RequireSimpleMDE}} + + + + +{{end}} +{{if .RequireGitGraph}} + + + +{{end}} + + +{{if .RequireHighlightJS}} + +{{end}} +{{if .RequireMinicolors}} + +{{end}} +{{if .RequireDatetimepicker}} + +{{end}} +{{if .RequireDropzone}} + +{{end}} +{{if .RequireTribute}} + + + {{if .Assignees}} + + {{end}} + +{{end}} + + + + + + + +{{template "custom/footer" .}} + + + diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl new file mode 100644 index 0000000..22ac6fd --- /dev/null +++ b/templates/base/head.tmpl @@ -0,0 +1,279 @@ + + + + + + + {{if .Title}}{{.Title}} - {{end}}{{AppName}} + + + + + + + + {{if .IsSigned}} + + {{end}} + {{if .ContextUser}} + + {{end}} + {{if .SearchLimit}} + + {{end}} +{{if .GoGetImport}} + + +{{end}} + + + + + + + + + +{{if .RequireSimpleMDE}} + +{{end}} + +{{if .RequireGitGraph}} + + +{{end}} + +{{if .RequireTribute}} + +{{end}} + + + + + + +{{if .RequireHighlightJS}} + +{{end}} +{{if .RequireMinicolors}} + +{{end}} +{{if .RequireDatetimepicker}} + +{{end}} +{{if .RequireDropzone}} + +{{end}} + + + + +{{if .PageIsUserProfile}} + + + + + +{{else if .Repository}} + + + + + {{if .Repository.Description}} + + {{end}} + +{{else}} + + + + + +{{end}} +{{template "custom/header" .}} + + + {{template "custom/body_outer_pre" .}} + +
+ + + {{template "custom/body_inner_pre" .}} + + {{if not .PageIsInstall}} + + {{end}} +{{/* +
+ + +*/}} +