mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-17 05:28:31 -04:00
Merge 332cb02385
into 3286754ceb
This commit is contained in:
commit
2ac9e59a2a
|
@ -13,5 +13,9 @@
|
|||
</div>
|
||||
</header>
|
||||
{{- .Content -}}
|
||||
|
||||
{{- if (.Param "comments") }}
|
||||
{{- partial "comments.html" . }}
|
||||
{{- end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
3
layouts/partials/comments.html
Normal file
3
layouts/partials/comments.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{- /* Comments area start */ -}}
|
||||
{{- /* to add comments read => https://gohugo.io/content-management/comments/ */ -}}
|
||||
{{- /* Comments area end */ -}}
|
4
layouts/partials/extended_head.html
Normal file
4
layouts/partials/extended_head.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{- /* 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 */ -}}
|
|
@ -29,4 +29,7 @@
|
|||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
{{- partial "extend_head.html" . -}}
|
||||
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue