mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-08 01:22:29 +00:00
Switch to theme based on Archie
This commit is contained in:
15
themes/archie/layouts/partials/comments.html
Normal file
15
themes/archie/layouts/partials/comments.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{{- $config := .Site.Params.comments -}}
|
||||
|
||||
{{- $utterancesEnabled := $config.utterances.enable -}}
|
||||
|
||||
{{- if and ( $utterancesEnabled ) ( not .Params.disable_comments) -}}
|
||||
<section id='comments' class='comments'>
|
||||
<div class='container sep-before'>
|
||||
<div class='comments-area'>
|
||||
{{- if $utterancesEnabled -}}
|
||||
{{ partial "comments/utterances" . }}
|
||||
{{- end -}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- end -}}
|
Reference in New Issue
Block a user