mirror of
				https://github.com/BBaoVanC/bbaovanc.com.git
				synced 2025-11-03 10:27:53 -06:00 
			
		
		
		
	Add comment system using Remark42
This commit is contained in:
		@@ -3,6 +3,7 @@
 | 
			
		||||
title: New Comment System (again)
 | 
			
		||||
date: 2021-04-17
 | 
			
		||||
toc: true
 | 
			
		||||
comments: false
 | 
			
		||||
 | 
			
		||||
aliases:
 | 
			
		||||
  - /blog/posts/new-comment-system-again/
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
title: New Comment System
 | 
			
		||||
date: 2021-04-11
 | 
			
		||||
toc: true
 | 
			
		||||
comments: false
 | 
			
		||||
 | 
			
		||||
aliases:
 | 
			
		||||
  - /blog/posts/new-comment-system/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -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/
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
title: The redesign of my website
 | 
			
		||||
date: 2021-10-16
 | 
			
		||||
toc: true
 | 
			
		||||
comments: true
 | 
			
		||||
 | 
			
		||||
tags:
 | 
			
		||||
  - announcement
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
title: Contact
 | 
			
		||||
menu: main
 | 
			
		||||
toc: false
 | 
			
		||||
comments: false
 | 
			
		||||
 | 
			
		||||
description: >-
 | 
			
		||||
  Want to contact me? Here's how you can.
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
title: Links
 | 
			
		||||
menu: main
 | 
			
		||||
toc: true
 | 
			
		||||
comments: false
 | 
			
		||||
 | 
			
		||||
aliases:
 | 
			
		||||
  - /blog/links/
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										43
									
								
								layouts/partials/comments.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								layouts/partials/comments.html
									
									
									
									
									
										Normal 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>
 | 
			
		||||
 Submodule themes/bobatheme updated: 4e9ce6df46...e0f04cb279
									
								
							
		Reference in New Issue
	
	Block a user