demo: add utterances comments system
This commit is contained in:
parent
969ec9aaf1
commit
9b2fc88344
@ -2,6 +2,7 @@
|
|||||||
title = "About"
|
title = "About"
|
||||||
date = "2024-07-30"
|
date = "2024-07-30"
|
||||||
author = "Mirus"
|
author = "Mirus"
|
||||||
|
hideComments=true
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
@ -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/)
|
||||||
|
@ -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'
|
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