Skip to content

Commit dddf8de

Browse files
committed
feat: Add extend head & footer
1 parent 13ffafe commit dddf8de

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

layouts/_default/baseof.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
{{- partial "head/style.html" . -}}
88
{{- end -}}
99
{{- end -}}
10+
11+
{{- if templates.Exists "partials/extend_head.html" -}}
12+
{{- partial "extend_head.html" . -}}
13+
{{- end -}}
1014
</head>
1115

1216
<body>
@@ -63,5 +67,9 @@ <h1 class="post-title">{{ .Title | plainify }}</h1>
6367
{{- end -}}
6468
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
6569
{{- end -}}
70+
71+
{{- if templates.Exists "partials/extend_footer.html" -}}
72+
{{- partial "extend_footer.html" . -}}
73+
{{- end -}}
6674
</body>
6775
</html>

0 commit comments

Comments
 (0)