Add comment system using Remark42

This commit is contained in:
2021-10-23 23:30:19 -05:00
parent d19b9ceaf4
commit fda5948b83
12 changed files with 54 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
title: New Comment System (again)
date: 2021-04-17
toc: true
comments: false
aliases:
- /blog/posts/new-comment-system-again/

View File

@@ -3,6 +3,7 @@
title: New Comment System
date: 2021-04-11
toc: true
comments: false
aliases:
- /blog/posts/new-comment-system/

View File

@@ -3,6 +3,7 @@
title: Allow non root processes to bind to privileged ports in Linux
date: 2021-03-28
toc: true
comments: true
aliases:
- posts/allow-non-root-processes-to-bind-to-privileged-ports/

View File

@@ -3,6 +3,7 @@
title: Checkra1n GUI on other Linux distros
date: 2021-03-25
toc: true
comments: true
aliases:
- posts/checkra1n-gui-on-other-distros/

View File

@@ -3,6 +3,7 @@
title: Put `(edited)` in the middle of a message in Discord
date: 2021-03-25
toc: false
comments: true
aliases:
- posts/edited-in-middle-of-message-discord/

View File

@@ -3,6 +3,7 @@
title: Text substitution in Discord using `sed`
date: 2021-03-25
toc: false
comments: true
aliases:
- /blog/posts/sed-text-substitution-in-discord/

View File

@@ -3,6 +3,7 @@
title: The redesign of my website
date: 2021-10-16
toc: true
comments: true
tags:
- announcement

View File

@@ -3,6 +3,7 @@
title: Contact
menu: main
toc: false
comments: false
description: >-
Want to contact me? Here's how you can.

View File

@@ -3,6 +3,7 @@
title: Donate
menu: main
toc: false
comments: false
description: >-
I have a few cryptocurrency addresses that you can use if you want to donate to

View File

@@ -3,6 +3,7 @@
title: Links
menu: main
toc: true
comments: false
aliases:
- /blog/links/

View File

@@ -0,0 +1,43 @@
<hr id="comments-hr">
<noscript>
<style>
#comments-hr {
display: none;
}
</style>
<small>
<i>Enable JavaScript to see the comment section.</i>
</small>
</noscript>
{{ $url := .RelPermalink }}
{{ if .IsTranslated }}
{{ with index .AllTranslations 0 }}
{{ $url = .RelPermalink }}
{{ end }}
{{ end }}
<script>
var remark_config = {
host: "https://remark.boba.best",
site_id: "bbaovanc.com",
components: [
"embed",
//"last-comments",
//"counter",
],
url: "{{ $url }}", // make this permalink the main language so all languages have the same comments
max_shown_comments: 10,
theme: "dark",
page_title: "{{ .Title }}",
locale: "{{ .Language.Lang }}",
show_email_subscription: true,
simple_view: false,
};
</script>
<script>!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);</script>
<div id="remark42"></div>