fix blockquotes and linking

This commit is contained in:
Ben Goldsworthy 2025-04-20 17:06:18 +02:00
parent 5073e5e2a4
commit 9b75a5fe4c
No known key found for this signature in database
2 changed files with 5 additions and 19 deletions

View file

@ -11,7 +11,7 @@
grid-column-end: 3; grid-column-end: 3;
background-color: $light; background-color: $light;
filter: brightness(80%); filter: brightness(80%);
@include mq('desktop') { @include mq("desktop") {
border: 2px solid $dark; border: 2px solid $dark;
grid-column-end: 2; grid-column-end: 2;
padding: 2em; padding: 2em;
@ -180,7 +180,7 @@
grid-row-start: 2; grid-row-start: 2;
grid-row-end: 3; grid-row-end: 3;
@include mq('desktop') { @include mq("desktop") {
grid-row-start: 1; grid-row-start: 1;
grid-row-end: 4; grid-row-end: 4;
grid-column-start: 2; grid-column-start: 2;
@ -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 { & p:first-child {
margin-top: 0; margin-top: 0;
} }
@ -360,7 +346,7 @@
grid-row-start: 3; grid-row-start: 3;
grid-row-end: 4; grid-row-end: 4;
border-top: 2px solid $dark; border-top: 2px solid $dark;
@include mq('desktop') { @include mq("desktop") {
margin-bottom: 2em; margin-bottom: 2em;
grid-row-start: 2; grid-row-start: 2;
grid-row-end: 3; grid-row-end: 3;

View file

@ -1,6 +1,6 @@
{{- $itemType := default "CreativeWork" .schemaType -}} {{- $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 .c -}}
{{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}} {{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}}