demo: add utterances comments system
This commit is contained in:
parent
969ec9aaf1
commit
9b2fc88344
@ -2,6 +2,7 @@
|
||||
title = "About"
|
||||
date = "2024-07-30"
|
||||
author = "Mirus"
|
||||
hideComments=true
|
||||
+++
|
||||
|
||||
|
||||
|
@ -4,6 +4,7 @@ date = "2024-07-30"
|
||||
author = "Mirus"
|
||||
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"
|
||||
hideComments=true
|
||||
+++
|
||||
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
---
|
||||
title: "Showcase"
|
||||
date: "2018-07-18"
|
||||
author: "Hello Robot"
|
||||
---
|
||||
+++
|
||||
title= "Showcase"
|
||||
date= "2018-07-18"
|
||||
author= "Hello Robot"
|
||||
hideComments= true
|
||||
+++
|
||||
|
||||
# Features in updates
|
||||
- [native CSS variables showcase](/posts/css-vars/)
|
||||
|
@ -51,10 +51,10 @@ target = 'static'
|
||||
source = 'static'
|
||||
target = 'static'
|
||||
[[module.mounts]]
|
||||
source = 'demoSite/layouts'
|
||||
source = 'layouts'
|
||||
target = 'layouts'
|
||||
[[module.mounts]]
|
||||
source = 'layouts'
|
||||
source = 'demoSite/layouts'
|
||||
target = 'layouts'
|
||||
[[module.mounts]]
|
||||
source = 'archetypes'
|
12
demoSite/layouts/partials/comments.html
Normal file
12
demoSite/layouts/partials/comments.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user