mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-10-07 01:46:00 +00:00
Compare commits
11 Commits
2902f5735b
...
0ee904d34f
Author | SHA1 | Date | |
---|---|---|---|
|
0ee904d34f | ||
|
a24bf002ab | ||
|
9da895cd8a | ||
|
dc75012739 | ||
|
adf37e736e | ||
|
f76666c70d | ||
|
a49699a5d6 | ||
|
5d87003de0 | ||
|
37a27723f9 | ||
|
7202c2c37e | ||
|
ac454d75dc |
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
with:
|
with:
|
||||||
hugo-version: "0.121.1"
|
hugo-version: "0.120.3"
|
||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
@@ -3,6 +3,7 @@ copyright: Dave Gallant
|
|||||||
title: davegallant.ca
|
title: davegallant.ca
|
||||||
enableGitInfo: true
|
enableGitInfo: true
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
|
paginate: 20
|
||||||
|
|
||||||
services:
|
services:
|
||||||
googleAnalytics:
|
googleAnalytics:
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "davegallant.ca — Blog"
|
title: Blog
|
||||||
---
|
---
|
||||||
|
|
||||||
[RSS Feed](https://davegallant.ca/index.xml)
|
Subscribe via [RSS](https://davegallant.ca/index.xml).
|
||||||
|
82
package-lock.json
generated
82
package-lock.json
generated
@@ -227,9 +227,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/cascade-layer-name-parser": {
|
"node_modules/@csstools/cascade-layer-name-parser": {
|
||||||
"version": "1.0.7",
|
"version": "1.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-1.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-1.0.9.tgz",
|
||||||
"integrity": "sha512-9J4aMRJ7A2WRjaRLvsMeWrL69FmEuijtiW1XlK/sG+V0UJiHVYUyvj9mY4WAXfU/hGIiGOgL8e0jJcRyaZTjDQ==",
|
"integrity": "sha512-RRqNjxTZDUhx7pxYOBG/AkCVmPS3zYzfE47GEhIGkFuWFTQGJBgWOUUkKNo5MfxIfjDz5/1L3F3rF1oIsYaIpw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -245,8 +245,8 @@
|
|||||||
"node": "^14 || ^16 || >=18"
|
"node": "^14 || ^16 || >=18"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@csstools/css-parser-algorithms": "^2.5.0",
|
"@csstools/css-parser-algorithms": "^2.6.1",
|
||||||
"@csstools/css-tokenizer": "^2.2.3"
|
"@csstools/css-tokenizer": "^2.2.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/color-helpers": {
|
"node_modules/@csstools/color-helpers": {
|
||||||
@@ -319,9 +319,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/css-parser-algorithms": {
|
"node_modules/@csstools/css-parser-algorithms": {
|
||||||
"version": "2.5.0",
|
"version": "2.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz",
|
||||||
"integrity": "sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==",
|
"integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -337,13 +337,13 @@
|
|||||||
"node": "^14 || ^16 || >=18"
|
"node": "^14 || ^16 || >=18"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@csstools/css-tokenizer": "^2.2.3"
|
"@csstools/css-tokenizer": "^2.2.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/css-tokenizer": {
|
"node_modules/@csstools/css-tokenizer": {
|
||||||
"version": "2.2.3",
|
"version": "2.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz",
|
||||||
"integrity": "sha512-pp//EvZ9dUmGuGtG1p+n17gTHEOqu9jO+FiCUjNN3BDmyhdA2Jq9QsVeR7K8/2QCK17HSsioPlTW9ZkzoWb3Lg==",
|
"integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -360,9 +360,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/media-query-list-parser": {
|
"node_modules/@csstools/media-query-list-parser": {
|
||||||
"version": "2.1.7",
|
"version": "2.1.9",
|
||||||
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.7.tgz",
|
"resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz",
|
||||||
"integrity": "sha512-lHPKJDkPUECsyAvD60joYfDmp8UERYxHGkFfyLJFTVK/ERJe0sVlIFLXU5XFxdjNDTerp5L4KeaKG+Z5S94qxQ==",
|
"integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -378,8 +378,8 @@
|
|||||||
"node": "^14 || ^16 || >=18"
|
"node": "^14 || ^16 || >=18"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@csstools/css-parser-algorithms": "^2.5.0",
|
"@csstools/css-parser-algorithms": "^2.6.1",
|
||||||
"@csstools/css-tokenizer": "^2.2.3"
|
"@csstools/css-tokenizer": "^2.2.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@csstools/postcss-cascade-layers": {
|
"node_modules/@csstools/postcss-cascade-layers": {
|
||||||
@@ -2469,9 +2469,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-prettier": {
|
"node_modules/eslint-plugin-prettier": {
|
||||||
"version": "5.1.2",
|
"version": "5.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz",
|
||||||
"integrity": "sha512-dhlpWc9vOwohcWmClFcA+HjlvUpuyynYs0Rf+L/P6/0iQE6vlHW9l5bkfzN62/Stm9fbq8ku46qzde76T1xlSg==",
|
"integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prettier-linter-helpers": "^1.0.0",
|
"prettier-linter-helpers": "^1.0.0",
|
||||||
@@ -3397,9 +3397,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lint-staged": {
|
"node_modules/lint-staged": {
|
||||||
"version": "15.2.0",
|
"version": "15.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz",
|
||||||
"integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==",
|
"integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "5.3.0",
|
"chalk": "5.3.0",
|
||||||
@@ -3407,7 +3407,7 @@
|
|||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"execa": "8.0.1",
|
"execa": "8.0.1",
|
||||||
"lilconfig": "3.0.0",
|
"lilconfig": "3.0.0",
|
||||||
"listr2": "8.0.0",
|
"listr2": "8.0.1",
|
||||||
"micromatch": "4.0.5",
|
"micromatch": "4.0.5",
|
||||||
"pidtree": "0.6.0",
|
"pidtree": "0.6.0",
|
||||||
"string-argv": "0.3.2",
|
"string-argv": "0.3.2",
|
||||||
@@ -3436,9 +3436,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/listr2": {
|
"node_modules/listr2": {
|
||||||
"version": "8.0.0",
|
"version": "8.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz",
|
||||||
"integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==",
|
"integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cli-truncate": "^4.0.0",
|
"cli-truncate": "^4.0.0",
|
||||||
@@ -4105,9 +4105,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss": {
|
"node_modules/postcss": {
|
||||||
"version": "8.4.32",
|
"version": "8.4.38",
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz",
|
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz",
|
||||||
"integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==",
|
"integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -4126,7 +4126,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nanoid": "^3.3.7",
|
"nanoid": "^3.3.7",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
"source-map-js": "^1.0.2"
|
"source-map-js": "^1.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^10 || ^12 || >=14"
|
"node": "^10 || ^12 || >=14"
|
||||||
@@ -4324,9 +4324,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss-custom-media": {
|
"node_modules/postcss-custom-media": {
|
||||||
"version": "10.0.2",
|
"version": "10.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-10.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-10.0.4.tgz",
|
||||||
"integrity": "sha512-zcEFNRmDm2fZvTPdI1pIW3W//UruMcLosmMiCdpQnrCsTRzWlKQPYMa1ud9auL0BmrryKK1+JjIGn19K0UjO/w==",
|
"integrity": "sha512-Ubs7O3wj2prghaKRa68VHBvuy3KnTQ0zbGwqDYY1mntxJD0QL2AeiAy+AMfl3HBedTCVr2IcFNktwty9YpSskA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -4339,10 +4339,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@csstools/cascade-layer-name-parser": "^1.0.5",
|
"@csstools/cascade-layer-name-parser": "^1.0.9",
|
||||||
"@csstools/css-parser-algorithms": "^2.3.2",
|
"@csstools/css-parser-algorithms": "^2.6.1",
|
||||||
"@csstools/css-tokenizer": "^2.2.1",
|
"@csstools/css-tokenizer": "^2.2.4",
|
||||||
"@csstools/media-query-list-parser": "^2.1.5"
|
"@csstools/media-query-list-parser": "^2.1.9"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14 || ^16 || >=18"
|
"node": "^14 || ^16 || >=18"
|
||||||
@@ -5832,9 +5832,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/source-map-js": {
|
"node_modules/source-map-js": {
|
||||||
"version": "1.0.2",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
|
||||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
"integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
|
6
renovate.json
Normal file
6
renovate.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
]
|
||||||
|
}
|
13
shell.nix
13
shell.nix
@@ -1,10 +1,11 @@
|
|||||||
let
|
let
|
||||||
channel = "nixos-23.11";
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
||||||
pkgs = import <nixpkgs> { };
|
pkgs = import nixpkgs { config = { }; overlays = [ ]; };
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
|
||||||
name = "hugo site";
|
pkgs.mkShellNoCC {
|
||||||
buildInputs = [
|
packages = with pkgs; [
|
||||||
pkgs.hugo
|
hugo
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1,24 +1,12 @@
|
|||||||
{{ range $pageIndex, $page := .Pages }}
|
{{ range $pageIndex, $page := .Pages }}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<div class="post-header">
|
<div class="post-header">
|
||||||
<h2>
|
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
||||||
</h2>
|
|
||||||
{{ partial "post-meta.html" (dict "page" . "pageIndex" $pageIndex) }}
|
{{ partial "post-meta.html" (dict "page" . "pageIndex" $pageIndex) }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="post-content">
|
|
||||||
{{ with .Description }}
|
|
||||||
{{ . }}
|
|
||||||
{{ else }}
|
|
||||||
{{ .Summary }}
|
|
||||||
{{ if .Truncated }}
|
|
||||||
<div class="post-content__read-more">
|
|
||||||
<a href="{{ .RelPermalink }}">Read more ></a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@@ -2,26 +2,4 @@
|
|||||||
{{- with .page.Date -}}
|
{{- with .page.Date -}}
|
||||||
<span>{{ .Format "2006-01-02" }}</span>
|
<span>{{ .Format "2006-01-02" }}</span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .page.Params.Author -}}
|
|
||||||
<span> by </span><span class="post-meta__author">{{ . }}</span>
|
|
||||||
{{- end -}}
|
|
||||||
{{ with .page.Params.tags }}
|
|
||||||
<div class="post-tags">
|
|
||||||
{{ range . -}}
|
|
||||||
<a class="post-tag" href="{{ urlize (printf "tags/%s" . ) | absURL }}">
|
|
||||||
{{- /* Replace hyphen with non-breaking hyphen */ -}}
|
|
||||||
{{- replace (urlize .) "-" "‑" | safeHTML -}}
|
|
||||||
</a>
|
|
||||||
{{- end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if .page.Params.cover }}
|
|
||||||
<!--
|
|
||||||
Only lazy-load images below-the-fold. For post lists, start loading
|
|
||||||
covers from the third post and onwards.
|
|
||||||
-->
|
|
||||||
{{ $lazy := ge .pageIndex 2 }}
|
|
||||||
{{ partial "image.html" (dict "src" .page.Params.cover.src "alt" .page.Params.cover.alt "caption" .page.Params.cover.caption "page" .page "lazy" $lazy) }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
812
themes/hugo-theme-gruvbox/package-lock.json
generated
812
themes/hugo-theme-gruvbox/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user