Add references layouts
This commit is contained in:
parent
0183e4ac74
commit
2012a4a017
16
assets/css/blockquote.css
Normal file
16
assets/css/blockquote.css
Normal 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;
|
||||
}
|
||||
10
layouts/partials/reference.html
Normal file
10
layouts/partials/reference.html
Normal file
@ -0,0 +1,10 @@
|
||||
<section>
|
||||
<figure class="quote">
|
||||
<blockquote>
|
||||
{{ .Content }}
|
||||
<div>
|
||||
{{ .Params.Customer }}, {{ .Params.Date }}
|
||||
</div>
|
||||
</blockquote>
|
||||
</figure>
|
||||
</section>
|
||||
11
layouts/partials/references.html
Normal file
11
layouts/partials/references.html
Normal file
@ -0,0 +1,11 @@
|
||||
{{ with .Site.GetPage "/references" }}
|
||||
<section class="wrapper style1 align-center" id="{{ .Params.id }}">
|
||||
<div class="inner">
|
||||
<h2>{{ .Title }}</h2>
|
||||
<p>{{ .Content }}</p>
|
||||
{{- range .Resources.ByType "page" }}
|
||||
{{- partial "reference" . }}
|
||||
{{- end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Loading…
x
Reference in New Issue
Block a user