mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 04:58:26 +00:00
Update site layouts
This commit is contained in:
parent
a1c0777c39
commit
8f68e1af9d
@ -1,5 +1,6 @@
|
|||||||
{{- define "main" -}}
|
{{- define "main" -}}
|
||||||
|
|
||||||
|
<main>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
@ -23,6 +24,5 @@
|
|||||||
</section>
|
</section>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</main>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@ -5,11 +5,10 @@
|
|||||||
{{- partial "head_extended.html" . -}}
|
{{- partial "head_extended.html" . -}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{- partial "components/theme-button.html" . }}
|
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<hr>
|
<hr aria-hidden="true">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
<hr>
|
<hr aria-hidden="true">
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
{{- if hugo.IsProduction -}}
|
{{- if hugo.IsProduction -}}
|
||||||
<script data-goatcounter="https://foo-dogsquared.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
<script data-goatcounter="https://foo-dogsquared.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user