-
{{ range .Sections.ByWeight }}
{{ if eq .Weight 10 }}
{{ end }} @@ -29,7 +22,4 @@ {{ end }}
diff --git a/assets/css/layout/_footer.scss b/assets/css/layout/_footer.scss
index 11a25e7..fdbe1f1 100644
--- a/assets/css/layout/_footer.scss
+++ b/assets/css/layout/_footer.scss
@@ -1,13 +1,17 @@
.site-footer {
grid-area: footer;
display: block;
- inline-size: 100%;; /* Overflows right of viewport otherwise */
- position: fixed;
- inset-block-end: 0;
+ inline-size: 100%; /* Overflows right of viewport otherwise */
+
+ @include mq("medium") {
+ position: fixed;
+ inset-block-end: 0;
+ }
& p {
text-align: center;
background: $light;
+ margin-block-start: 0;
padding: 0.4em;
margin-block-end: unset;
border-block-end: none;
diff --git a/assets/css/layout/_grid.scss b/assets/css/layout/_grid.scss
index 1d5c1b4..793d1da 100644
--- a/assets/css/layout/_grid.scss
+++ b/assets/css/layout/_grid.scss
@@ -24,7 +24,7 @@
". page-container ."
"footer footer footer";
border: 2px solid black;
- margin-inline: 2em;
+ margin: 2em;
}
&--homepage {
diff --git a/config/_default/config.yaml b/config/_default/config.yaml
index 710db1b..e724d4b 100644
--- a/config/_default/config.yaml
+++ b/config/_default/config.yaml
@@ -66,3 +66,4 @@ markup:
ignoreErrors:
- "missing-cite"
+ - "size-set-on-non-resizable"
diff --git a/content/cv/_index.md b/content/cv/_index.md
index ffc0584..e3e9e2d 100644
--- a/content/cv/_index.md
+++ b/content/cv/_index.md
@@ -1,7 +1,6 @@
---
title: CV
-layout: cv
-type: cv
+layout: cv-root
---
This section is for things you have done in your life, e.g. jobs, roles,
diff --git a/content/portfolio/_index.md b/content/portfolio/_index.md
index 2ae4c01..8cafec1 100644
--- a/content/portfolio/_index.md
+++ b/content/portfolio/_index.md
@@ -1,6 +1,6 @@
---
title: Portfolio
-type: portfolio
+layout: portfolio-root
---
This section is for things you have produced, whatever their formats and media.
diff --git a/layouts/_partials/images/get-image.html b/layouts/_partials/images/get-image.html
index 6cb94d9..65524db 100644
--- a/layouts/_partials/images/get-image.html
+++ b/layouts/_partials/images/get-image.html
@@ -33,7 +33,7 @@
{{- warnf "Requested size %s is more than image width %d (%q)" $width $img.Width $img.File.Path -}}
{{- end -}}
{{- else -}}
- {{- warnf "Size set on non-resizable image of type %s; ignoring" $img.MediaType.SubType -}}
+ {{- warnidf "size-set-on-non-resizable" "Size set on non-resizable image of type %s; ignoring" $img.MediaType.SubType -}}
{{- end -}}
{{- end -}}
diff --git a/layouts/_partials/single/main-body/corrigendum.html b/layouts/_partials/single/main-body/corrigenda.html
similarity index 72%
rename from layouts/_partials/single/main-body/corrigendum.html
rename to layouts/_partials/single/main-body/corrigenda.html
index c35377c..d3c38e2 100644
--- a/layouts/_partials/single/main-body/corrigendum.html
+++ b/layouts/_partials/single/main-body/corrigenda.html
@@ -21,17 +21,17 @@
- Corrigendum
+ Corrigenda
- {{ $file := path.Join $.sc.Page.File.Dir "corrigendum.md" | readFile }}
+ {{ $file := path.Join $.sc.Page.File.Dir "corrigenda.md" | readFile }}
{{ $file | .pc.RenderString }}