From b7d5ea8fa9f8954f5d9bf0470bf936fe150a98f3 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 20 Apr 2025 17:07:48 +0200 Subject: [PATCH 1/3] build(hugo): remove max requirement --- config/_default/config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 7f63c78..ba452d5 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -2,7 +2,6 @@ module: hugoVersion: extended: true min: "0.140.0" - max: "0.140.2" baseURL: "https://example.com/" languageCode: en-gb From 65a9660127f63d5ae7b3cfd6941dee6386c97110 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 20 Apr 2025 17:08:01 +0200 Subject: [PATCH 2/3] style: don't style first blockquote differently --- assets/css/pages/_single.scss | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/assets/css/pages/_single.scss b/assets/css/pages/_single.scss index e00bf5e..9916b7e 100644 --- a/assets/css/pages/_single.scss +++ b/assets/css/pages/_single.scss @@ -11,7 +11,7 @@ grid-column-end: 3; background-color: $light; filter: brightness(80%); - @include mq('desktop') { + @include mq("desktop") { border: 2px solid $dark; grid-column-end: 2; padding: 2em; @@ -180,11 +180,11 @@ grid-row-start: 2; grid-row-end: 3; - @include mq('desktop') { + @include mq("desktop") { grid-row-start: 1; grid-row-end: 4; grid-column-start: 2; - } + } /* Temporary until I've fixed all the figures */ overflow-x: clip; @@ -239,20 +239,6 @@ } } - &:first-child { - font-size: 1.2em; - text-align: center; - display: block; - margin: 0 auto; - border-left: 0; - padding-left: 0; - width: 100%; - padding-top: 1em; - padding-bottom: 1.2em; - border-top: 2px outset $dark; - border-bottom: 2px inset $dark; - } - & p:first-child { margin-top: 0; } @@ -360,7 +346,7 @@ grid-row-start: 3; grid-row-end: 4; border-top: 2px solid $dark; - @include mq('desktop') { + @include mq("desktop") { margin-bottom: 2em; grid-row-start: 2; grid-row-end: 3; From 6b0b5fe72846c4aa8cf6338c7807147b0c9deed3 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 20 Apr 2025 17:08:09 +0200 Subject: [PATCH 3/3] fix: linking to quote pages --- layouts/partials/cite.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/cite.html b/layouts/partials/cite.html index 8fe8c33..9f223f0 100644 --- a/layouts/partials/cite.html +++ b/layouts/partials/cite.html @@ -1,6 +1,6 @@ {{- $itemType := default "CreativeWork" .schemaType -}} -{{- $pages := where ( where .g.Site.Pages "Section" .section ) "title" .title | first 1 -}} +{{- $pages := where ( where .g.Site.Pages "Section" .section ) "Title" .title | first 1 -}} {{- with .c -}} {{- with $pages -}}{{- range . -}}{{- end -}}{{- end -}}