mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-08 09:32:27 +00:00
Switch themes to minimo
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{- .Page.Scratch.Add "comments_depth" 1 -}}
|
||||
{{- $comments := ( index .Page.Site.Data.comments .Page.File.UniqueID ) -}}
|
||||
{{- $parentId := .ParentId -}}
|
||||
|
||||
<ol class='children'>
|
||||
{{- range $index, $comment := $comments -}}
|
||||
{{- if ( eq $comment.parent_id $parentId ) -}}
|
||||
{{ partial "comments/staticman/comment" ( dict "Comment" $comment "Page" $.Page ) }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</ol>
|
Reference in New Issue
Block a user