Merge branch 'references'

This commit is contained in:
Jens M. Sauer 2024-09-24 21:30:59 +02:00
commit 60b6feff0e
3 changed files with 37 additions and 0 deletions

16
assets/css/blockquote.css Normal file
View File

@ -0,0 +1,16 @@
.quote {
margin: 0;
}
.quote blockquote {
margin: 1em 1em 2em 1em;
}
.quote p {
margin: 0 0 1em 0;
}
.quote div {
font-weight: 400;
}

View File

@ -0,0 +1,10 @@
<section>
<figure class="quote">
<blockquote>
{{ .Content }}
<div>
{{ .Params.Customer }}, {{ .Params.Date }}
</div>
</blockquote>
</figure>
</section>

View File

@ -0,0 +1,11 @@
{{ with .Site.GetPage "/references" }}
<section class="wrapper style1 align-center" id="{{ .Params.id }}">
<div class="inner">
<h2>{{ .Title }}</h2>
<h4>{{ .Content }}</h4>
{{- range .Resources.ByType "page" }}
{{- partial "reference" . }}
{{- end }}
</div>
</section>
{{ end }}