mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
First pass at new site template
This commit is contained in:
committed by
Chris Cummer
parent
215c7e571f
commit
d872a28cf7
32
_site/themes/docdock/layouts/_default/baseof.html
Normal file
32
_site/themes/docdock/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
{{if .Site.Params.themeStyle}}
|
||||
{{ partial (printf "%s/head.html" .Site.Params.themeStyle) . }}
|
||||
{{else}}
|
||||
{{ partial "flex/head.html" . }}
|
||||
{{end}}
|
||||
</head>
|
||||
<body data-url="{{ .RelPermalink }}">
|
||||
{{if .Site.Params.themeStyle}}
|
||||
{{ partial (printf "%s/body-beforecontent.html" .Site.Params.themeStyle) . }}
|
||||
{{else}}
|
||||
{{ partial "flex/body-beforecontent.html" . }}
|
||||
{{end}}
|
||||
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
|
||||
{{if .Site.Params.themeStyle}}
|
||||
{{ partial (printf "%s/body-aftercontent.html" .Site.Params.themeStyle) . }}
|
||||
{{else}}
|
||||
{{ partial "flex/body-aftercontent.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ block "footer" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "custom-footer.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user