Switch themes to minimo

This commit is contained in:
Dave Gallant
2021-09-06 11:55:05 -04:00
parent 75f9797c91
commit 4ff7aec7c1
302 changed files with 17841 additions and 607 deletions

View File

@@ -0,0 +1,19 @@
{{- $entryId := .File.UniqueID -}}
{{- if isset .Site.Data.comments $entryId -}}
{{- $comments := ( index .Site.Data.comments $entryId ) -}}
<h3 class='comments-title'>
{{ i18n "commentsOnEntry" ( dict "Count" ( len $comments ) "Title" .Title ) }}
</h3>
<ol class='comment-list'>
{{- range $index, $comment := $comments -}}
{{- $.Scratch.Set "comments_depth" 1 -}}
{{- if not $comment.parent_id -}}
{{ partial "comments/staticman/comment" ( dict "Comment" $comment "Page" $ ) }}
{{- end -}}
{{- end -}}
</ol>
{{- end -}}