demo: add utterances comments system

This commit is contained in:
Mirus 2024-08-02 11:01:07 +03:00
parent 969ec9aaf1
commit 9b2fc88344
5 changed files with 22 additions and 7 deletions

View File

@ -2,6 +2,7 @@
title = "About" title = "About"
date = "2024-07-30" date = "2024-07-30"
author = "Mirus" author = "Mirus"
hideComments=true
+++ +++

View File

@ -4,6 +4,7 @@ date = "2024-07-30"
author = "Mirus" author = "Mirus"
cover = "img/hello.jpg" cover = "img/hello.jpg"
description = "The popular theme for Hugo Terminal is reborn in re-Terminal fork. Let's make the Radek's work continue to live" description = "The popular theme for Hugo Terminal is reborn in re-Terminal fork. Let's make the Radek's work continue to live"
hideComments=true
+++ +++

View File

@ -1,8 +1,9 @@
--- +++
title: "Showcase" title= "Showcase"
date: "2018-07-18" date= "2018-07-18"
author: "Hello Robot" author= "Hello Robot"
--- hideComments= true
+++
# Features in updates # Features in updates
- [native CSS variables showcase](/posts/css-vars/) - [native CSS variables showcase](/posts/css-vars/)

View File

@ -51,10 +51,10 @@ target = 'static'
source = 'static' source = 'static'
target = 'static' target = 'static'
[[module.mounts]] [[module.mounts]]
source = 'demoSite/layouts' source = 'layouts'
target = 'layouts' target = 'layouts'
[[module.mounts]] [[module.mounts]]
source = 'layouts' source = 'demoSite/layouts'
target = 'layouts' target = 'layouts'
[[module.mounts]] [[module.mounts]]
source = 'archetypes' source = 'archetypes'

View File

@ -0,0 +1,12 @@
<div class="utterances">
<iframe class="utterances-frame"></iframe>
</div>
<script
src="https://utteranc.es/client.js"
repo="mirus-ua/hugo-theme-re-terminal"
issue-term="pathname"
label="Comment ✨💬✨"
theme="dark-blue"
crossorigin="anonymous"
async
></script>