diff --git a/assets/css/datapage.scss b/assets/css/datapage.scss new file mode 100644 index 0000000..8083528 --- /dev/null +++ b/assets/css/datapage.scss @@ -0,0 +1,47 @@ +@use "hugo:vars" as v; + + +@media(min-width: v.$bp_mobile) { + .datapage { + display: flex; + flex-direction: row; + gap: 1rem; + } + + .datapage__content { + order: 1; + } + + .datapage__data { + order: 2; + min-width: 350px; + } + + .datapage__datacard { + background-color: white; + box-shadow: 0 1.5rem 4rem rgba(22,28,45,0.05) !important; + padding: 1.5rem; + } +} + +.datapage__datacard { + address { + white-space: preserve-breaks; + font-style: normal; + } + + h3 { + font-weight: 600; + } + + h4 { + color: v.$color_tertiary; + font-variant: small-caps; + } +} + +.datapage__content { + img { + max-width: 100%; + } +} \ No newline at end of file diff --git a/layouts/gln.html b/layouts/gln.html new file mode 100644 index 0000000..1f72f2b --- /dev/null +++ b/layouts/gln.html @@ -0,0 +1,39 @@ +{{ define "main" }} + +

{{ .Title }}

+ + {{ $dateMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Lastmod | time.Format ":date_long" }} +
+ {{ T "Updated" }} + +
+
+
+
+

{{ T "Location Details" }}

+

{{ T "Address" }}

+
{{ .Params.address }}
+

+ {{ T "Telephone" }} +

+

+ {{ .Params.telephone }} +

+

+ GLN +

+

+ {{ with resources.Get (printf "/images/gln/%s.png" .Params.gln) }} + {{ .Params.gln }} + {{ end }} +

+
+
+
+ + {{ .Content }} + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +
+
+{{ end }}