Improve maintainability of Case Studies styling

- Add quote and lead shortcode
- Add case study metadata in front matter (to generate page)
- Allow case study page to inherit similar styles from a centralised CSS file.
This commit is contained in:
M. Habib Rosyad
2020-09-06 18:13:40 +07:00
parent 9e862337b9
commit 4d9ee76ace
61 changed files with 3389 additions and 4398 deletions
@@ -0,0 +1 @@
<div class="lead">{{ .Inner }}</div>
@@ -0,0 +1,12 @@
{{ if .Get "image" }}
<div class="quote banner {{ if $.Page.Params.use_gradient_overlay }}overlay{{ end }}" style="background-image: url({{ .Get "image" }})">
{{ else }}
<div class="quote banner">
{{ end }}
<p class="quote-text">
{{ .Inner }}
{{ if .Get "author" }}
<span class="quote-author">&mdash; {{ .Get "author" }}</span>
{{ end }}
</p>
</div>