diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index a6a8aed..cbc0496 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -405,3 +405,9 @@ img.in-text { display: inline; margin: auto; } + +.post-comment { + font-weight: bold; + background: var(--openring-bg); + width: 12rem; +} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ffad8aa..c0f39be 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -41,6 +41,14 @@ {{- else }}{{ .Content }}{{ end }} {{- end }} + {{- if (.Param "comments") }} +
+
+ View comments + {{- partial "comments.html" . }} +
+ {{- end }} +