diff --git a/exampleSite/layouts/partials/comment.html b/exampleSite/layouts/partials/comment.html new file mode 100644 index 0000000..d1093e2 --- /dev/null +++ b/exampleSite/layouts/partials/comment.html @@ -0,0 +1,17 @@ + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 32f552f..e3f3df5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,9 +5,9 @@

{{ .Title }}

- {{ if .Site.Params.displayDate }} + {{ if .Site.Params.displayDate }} Posted at — {{ dateFormat .Site.Params.timeformat .Date }} - {{ end }} + {{ end }} {{ if .Draft }} DRAFT @@ -37,16 +37,6 @@ {{ end }} {{ if or .Params.comment (and .Site.Params.commentOnAllPosts (ne .Params.comment false)) }} - {{ if eq .Site.Params.comment "disqus"}} - {{ partial "disqus.html" . }} - {{ end }} - - {{ if eq .Site.Params.comment "ovo"}} - {{ partial "ovo.html" . }} - {{ end }} - - {{ if eq .Site.Params.comment "utterances"}} - {{ partial "utterances.html" . }} - {{ end }} + {{ partial "comment.html" . }} {{ end }} {{ end }} \ No newline at end of file diff --git a/layouts/partials/comment.html b/layouts/partials/comment.html new file mode 100644 index 0000000..e69de29