diff options
Diffstat (limited to 'themes/spectral/layouts/partials/one.html')
| -rw-r--r-- | themes/spectral/layouts/partials/one.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/spectral/layouts/partials/one.html b/themes/spectral/layouts/partials/one.html new file mode 100644 index 0000000..a8b166f --- /dev/null +++ b/themes/spectral/layouts/partials/one.html @@ -0,0 +1,20 @@ +{{ $md := .Site.Params.body_is_markdown | default false }} + +{{ with .Site.Params.one }} +{{ if .enable }} + <section id="one" class="wrapper style1 special"> + <div class="inner"> + <header class="major"> + <h2>{{ .title | safeHTML}}</h2> + + {{ partial "body_text.html" (dict "context" . "md" $md) }} + </header> + <ul class="icons major"> + {{ range .icon }} + <li><span class="icon {{ .icon }} major style{{ .style }}"><span class="label">{{ .label }}</span></span></li> + {{ end }} + </ul> + </div> + </section> +{{ end }} +{{ end }} |
