28 Commits

Author SHA1 Message Date
drew 8066ffd68d update settings
- Deprecation warning, these needed to be updated to the new values.
2026-06-04 11:06:00 -06:00
drew ddf2200e9a upgrade Caddy to v2.11.4 2026-06-04 11:01:02 -06:00
drew 8bcf8cb637 upgrade Hugo to v0.162.0 2026-06-04 11:00:41 -06:00
drew 1f0d463ed4 upgrade blowfish to v2.103.0 2026-06-04 10:59:04 -06:00
drew 587ef5631b Merge pull request 'updates' (#9) from updates into main
Reviewed-on: #9
2026-04-14 20:01:42 +00:00
drew cbdd9be78b upgrade Caddy to v2.11.2 2026-04-14 10:39:49 -06:00
drew 2c867206be upgrade Hugo to v0.160.1 2026-04-14 10:39:37 -06:00
drew 1deb48d727 bump golang version 2026-04-14 10:36:12 -06:00
drew b732da0e22 upgrade blowfish to v2.102.0 2026-04-14 10:35:32 -06:00
drew 9c430a6bee Merge pull request 'upgrade Caddy to v2.11.1' (#8) from caddy into main
Reviewed-on: #8
2026-02-26 18:14:08 +00:00
drew 366a0c63f1 upgrade Caddy to v2.11.1 2026-02-26 10:16:21 -07:00
drew 65e26e5cb6 Merge pull request 'updates' (#7) from updates into main
Reviewed-on: #7
2026-02-12 21:09:36 +00:00
drew 5fc27a7b90 upgrade Hugo to v0.155.3 2026-02-12 12:59:08 -07:00
drew 54e2a8eaac upgrade blowfish to v2.98.0 2026-02-12 12:29:06 -07:00
drew 3e53b35938 Merge pull request 'Enable plain http' (#6) from http into main
Reviewed-on: #6
2026-02-04 23:06:37 +00:00
drew 18a92990d4 also accept requests on HTTP port 80 2026-02-04 15:40:32 -07:00
drew 6ab66866c7 caddy fmt 2026-02-04 15:34:54 -07:00
drew aaf6031c58 Merge pull request 'updates (Blowfish & Hugo)' (#5) from updates into main
Reviewed-on: #5
2026-01-13 15:17:25 +00:00
drew 808e3fd724 upgrade Hugo to v0.154.2 2026-01-13 08:15:01 -07:00
drew aa6ca20b38 upgrade blowfish to v2.97.0 2026-01-13 08:09:26 -07:00
drew 0e4ed71d4e Merge pull request 'upgrade blowfish to v2.93.0' (#4) from blowfish into main
Reviewed-on: #4
2025-11-27 16:38:15 +00:00
drew c432a2f405 upgrade blowfish to v2.93.0 2025-11-27 09:32:03 -07:00
drew a93452bd90 Merge pull request 'enable comments' (#3) from comments into main
Reviewed-on: #3
2025-11-26 23:00:26 +00:00
drew caef302171 add privacy policy link
- Google in particular demands this.
2025-11-26 15:25:25 -07:00
drew dca59d5369 enable comments on d-b.ca posts 2025-11-25 09:56:04 -07:00
drew bf1498d3c5 Merge pull request 'Update config' (#2) from config into main
Reviewed-on: #2
2025-11-20 20:01:33 +00:00
drew 0ffe8c334e add email address 2025-11-20 12:03:13 -07:00
drew 9bb243e2ca add google verification ID 2025-11-20 12:02:11 -07:00
9 changed files with 60 additions and 16 deletions
+5
View File
@@ -7,3 +7,8 @@ https:// {
root * /srv root * /srv
file_server file_server
} }
http:// {
root * /srv
file_server
}
+2 -2
View File
@@ -1,6 +1,6 @@
# Package versions # Package versions
ARG HUGO_VERSION="0.152.2" ARG HUGO_VERSION="0.162.0"
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
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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"
@@ -16,7 +16,7 @@ title = "Drew Bowering"
[params.author] [params.author]
name = "Drew Bowering" name = "Drew Bowering"
# email = "drew@d-b.ca" email = "drew@d-b.ca"
image = "img/DrewBowering.jpg" image = "img/DrewBowering.jpg"
# imageQuality = 96 # imageQuality = 96
headline = "IT Architect, Developer, Canoeist, Tubist" headline = "IT Architect, Developer, Canoeist, Tubist"
+4
View File
@@ -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"
+8 -1
View File
@@ -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
@@ -156,7 +157,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
# globalWidgetPosition = "Right" # globalWidgetPosition = "Right"
[verification] [verification]
# google = "" google = "w3v6pJQgijQRPkhgVV6SIOJEPIpAR9ase26ri4tPkS8"
# bing = "" # bing = ""
# pinterest = "" # pinterest = ""
# yandex = "" # yandex = ""
@@ -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"
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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=
+28
View File
@@ -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 -}}