Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7b5eb4f340
|
|||
|
fb1c99c3f1
|
|||
|
b3e3cba8dd
|
|||
|
8066ffd68d
|
|||
|
ddf2200e9a
|
|||
|
8bcf8cb637
|
|||
|
1f0d463ed4
|
|||
|
587ef5631b
|
|||
|
cbdd9be78b
|
|||
|
2c867206be
|
|||
|
1deb48d727
|
|||
|
b732da0e22
|
|||
|
9c430a6bee
|
|||
|
366a0c63f1
|
|||
|
65e26e5cb6
|
|||
|
5fc27a7b90
|
|||
|
54e2a8eaac
|
|||
|
3e53b35938
|
|||
|
18a92990d4
|
|||
|
6ab66866c7
|
|||
|
aaf6031c58
|
|||
|
808e3fd724
|
|||
|
aa6ca20b38
|
|||
|
0e4ed71d4e
|
|||
|
c432a2f405
|
|||
|
a93452bd90
|
|||
|
caef302171
|
|||
|
dca59d5369
|
@@ -1,9 +1,14 @@
|
|||||||
{
|
{
|
||||||
default_sni web
|
default_sni web
|
||||||
}
|
}
|
||||||
|
|
||||||
https:// {
|
https:// {
|
||||||
tls /tls/tls.crt /tls/tls.key
|
tls /tls/tls.crt /tls/tls.key
|
||||||
root * /srv
|
root * /srv
|
||||||
file_server
|
file_server
|
||||||
|
}
|
||||||
|
|
||||||
|
http:// {
|
||||||
|
root * /srv
|
||||||
|
file_server
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# Package versions
|
# Package versions
|
||||||
ARG HUGO_VERSION="0.152.2"
|
ARG HUGO_VERSION="0.163.1"
|
||||||
ARG CADDY_VERSION="2.10.2"
|
ARG CADDY_VERSION="2.11.4"
|
||||||
|
|
||||||
# Stage 1: Build
|
# Stage 1: Build
|
||||||
FROM core.harbor.brds.ca/d-b.ca/hugo-builder:${HUGO_VERSION} AS builder
|
FROM core.harbor.brds.ca/d-b.ca/hugo-builder:${HUGO_VERSION} AS builder
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# https://blowfish.page/docs/getting-started/
|
# https://blowfish.page/docs/getting-started/
|
||||||
|
|
||||||
baseURL = "https://d-b.ca/"
|
baseURL = "https://d-b.ca/"
|
||||||
languageCode = "en"
|
locale = "en"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
|
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
disabled = false
|
disabled = false
|
||||||
languageCode = "en"
|
locale = "en"
|
||||||
languageName = "English"
|
label = "English"
|
||||||
weight = 1
|
weight = 1
|
||||||
title = "Drew Bowering"
|
title = "Drew Bowering"
|
||||||
|
|
||||||
|
|||||||
@@ -67,3 +67,7 @@
|
|||||||
# name = "Categories"
|
# name = "Categories"
|
||||||
# pageRef = "categories"
|
# pageRef = "categories"
|
||||||
# weight = 20
|
# weight = 20
|
||||||
|
|
||||||
|
[[footer]]
|
||||||
|
name = "Privacy"
|
||||||
|
url = "https://comment.d-b.ca/web/privacy.html"
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
showDate = true
|
showDate = true
|
||||||
showViews = false
|
showViews = false
|
||||||
showLikes = false
|
showLikes = false
|
||||||
|
showComments = true
|
||||||
showDateOnlyInArticle = false
|
showDateOnlyInArticle = false
|
||||||
showDateUpdated = false
|
showDateUpdated = false
|
||||||
showAuthor = true
|
showAuthor = true
|
||||||
@@ -165,3 +166,9 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
[rssnext]
|
[rssnext]
|
||||||
# feedId = ""
|
# feedId = ""
|
||||||
# userId = ""
|
# userId = ""
|
||||||
|
|
||||||
|
[remark42]
|
||||||
|
enabled = true
|
||||||
|
host = "https://comment.d-b.ca"
|
||||||
|
site = "d-b.ca"
|
||||||
|
locale = "en"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module git.brds.ca/drew/web
|
module git.brds.ca/drew/web
|
||||||
|
|
||||||
go 1.25.4
|
go 1.26.2
|
||||||
|
|
||||||
require github.com/nunocoracao/blowfish/v2 v2.92.0 // indirect
|
require github.com/nunocoracao/blowfish/v2 v2.103.0 // indirect
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
github.com/nunocoracao/blowfish/v2 v2.92.0 h1:1EgHMRaY6VI438TIAN/5luNx16lg1e0Lrbi+6kDxpdA=
|
github.com/nunocoracao/blowfish/v2 v2.103.0 h1:zwGBHMMgpd76+AWC7VxWLuZFctwj24J9FOqCO2OML+8=
|
||||||
github.com/nunocoracao/blowfish/v2 v2.92.0/go.mod h1:4SkMc+Ht8gpQCwArqiHMBDP3soxi2OWuAhVney+cuyk=
|
github.com/nunocoracao/blowfish/v2 v2.103.0/go.mod h1:4SkMc+Ht8gpQCwArqiHMBDP3soxi2OWuAhVney+cuyk=
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
{{- with .Site.Params.remark42 -}}
|
||||||
|
<hr>
|
||||||
|
<p><b>Comments and questions are welcome!</b> <i>You can use your email address to Sign In (your email address is not publicly displayed), or you can use your Google or GitHub account. All comment data is hosted locally by d-b.ca and is not tracked. Please refer to the <a href='https://remark42.com' target="_blank"><b>Remark42</b></a> <a href='https://remark42.com/privacy/' target="_blank">Privacy Policy</a> for more information.</i></p>
|
||||||
|
<div id="remark42"></div>
|
||||||
|
<script>
|
||||||
|
var remark_config = {
|
||||||
|
host: '{{ .host }}',
|
||||||
|
site_id: '{{ .site }}',
|
||||||
|
components: ['embed'],
|
||||||
|
url: '{{ $.Permalink }}',
|
||||||
|
theme: document.documentElement.classList.contains("dark") ? 'dark' : 'light',
|
||||||
|
};
|
||||||
|
|
||||||
|
document.getElementById("appearance-switcher").addEventListener('click', event => {
|
||||||
|
window.REMARK42.changeTheme(document.documentElement.classList.contains("dark") ? 'light' : 'dark');
|
||||||
|
});
|
||||||
|
|
||||||
|
!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>
|
||||||
|
{{- end -}}
|
||||||
Reference in New Issue
Block a user