diff options
Diffstat (limited to 'layouts/partials/article.html')
-rw-r--r-- | layouts/partials/article.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/article.html b/layouts/partials/article.html index ec979cf..ccbed3c 100644 --- a/layouts/partials/article.html +++ b/layouts/partials/article.html @@ -14,8 +14,10 @@ {{- partial "post/category.html" . }} {{- partial "post/tag.html" . }} {{- partial "post/pv.html" . }} + {{- if .Site.Params.comment.type }} <span class="post-comment"><i class="icon icon-comment"></i> <a href="{{ .RelPermalink }}#comments" class="article-comment-link">{{T "article_comments" }}</a></span> + {{- end }} {{- partial "post/wc.html" . }} </div> </div> @@ -26,7 +28,9 @@ {{- partial "post/copyright.html" . }} </div> </article> + {{- if (.Site.Params.comment.type) }} {{- partial "post/comment.html" . }} + {{- end }} </div> {{- partial "post/nav.html" . }} -{{- partial "post/donate.html" . }}
\ No newline at end of file +{{- partial "post/donate.html" . }} |