Compare commits
3 commits
1e2fdf9d46
...
6b0b5fe728
Author | SHA1 | Date | |
---|---|---|---|
6b0b5fe728 | |||
65a9660127 | |||
b7d5ea8fa9 |
3 changed files with 5 additions and 20 deletions
|
@ -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;
|
||||||
|
|
|
@ -2,7 +2,6 @@ module:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
extended: true
|
extended: true
|
||||||
min: "0.140.0"
|
min: "0.140.0"
|
||||||
max: "0.140.2"
|
|
||||||
|
|
||||||
baseURL: "https://example.com/"
|
baseURL: "https://example.com/"
|
||||||
languageCode: en-gb
|
languageCode: en-gb
|
||||||
|
|
|
@ -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 -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue