feat: add head/custom and footer/custom for inserting custom code

This commit is contained in:
Jimmy Cai 2020-08-24 20:48:31 +02:00
parent 3c803ebd5c
commit a6870541dd
4 changed files with 3 additions and 0 deletions

View file

@ -7,5 +7,6 @@
</div> </div>
{{ partial "footer/script.html" . }} {{ partial "footer/script.html" . }}
{{ partial "footer/style.html" . }} {{ partial "footer/style.html" . }}
{{ partial "footer/custom.html" . }}
</body> </body>
</html> </html>

View file

View file

@ -21,4 +21,6 @@
{{- $favicon := $logo.Resize "32x" -}} {{- $favicon := $logo.Resize "32x" -}}
<link rel="icon" type="image/png" href="{{ $favicon.RelPermalink }}" /> <link rel="icon" type="image/png" href="{{ $favicon.RelPermalink }}" />
{{- end -}} {{- end -}}
{{ partial "head/custom.html" . }}
</head> </head>

View file