mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-16 16:14:27 -04:00
extended_head: init (#44)
* add placeholder template for extending head
This commit is contained in:
parent
7db1be3d73
commit
b720e4a523
2 changed files with 6 additions and 0 deletions
5
layouts/partials/extend_head.html
Normal file
5
layouts/partials/extend_head.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!-- Head custom content area start -->
|
||||
<!--
|
||||
Insert any custom code (web-analytics, resources, etc.) - it will appear in the <head></head> section of every page. Can be overwritten by partial with the same name in the global layouts.
|
||||
-->
|
||||
<!-- Head custom content area end -->
|
|
@ -45,6 +45,7 @@
|
|||
{{- range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{ end -}}
|
||||
{{- partial "extend_head.html" . -}}
|
||||
<!-- Misc -->
|
||||
{{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||
{{- template "_internal/google_analytics_async.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue