aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/edwin/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/edwin/layouts/_default/single.html')
-rw-r--r--generators/hugo/themes/edwin/layouts/_default/single.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/generators/hugo/themes/edwin/layouts/_default/single.html b/generators/hugo/themes/edwin/layouts/_default/single.html
index ae9fe12..329c543 100644
--- a/generators/hugo/themes/edwin/layouts/_default/single.html
+++ b/generators/hugo/themes/edwin/layouts/_default/single.html
@@ -25,8 +25,13 @@
{{ partial "related" . }}
</article>
+<noscript>
+ <style>
+ .comments { display: none; }
+ </style>
+</noscript>
-<script>document.write('<h4 class="text-3xl mt-2 mb-4 text-red-500 font-bold">Comments</h4>');</script>
+<h4 class="text-3xl mt-2 mb-4 text-red-500 font-bold comments">Comments</h4>
<script type="text/javascript" src="/comments"></script>