summaryrefslogtreecommitdiff
path: root/themes/spectral/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/spectral/layouts/_default/single.html')
-rw-r--r--themes/spectral/layouts/_default/single.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/spectral/layouts/_default/single.html b/themes/spectral/layouts/_default/single.html
new file mode 100644
index 0000000..dabce37
--- /dev/null
+++ b/themes/spectral/layouts/_default/single.html
@@ -0,0 +1,15 @@
+{{ partial "header.html" . }}
+<article id="main">
+ <header {{ with .Params.image }}style="background-image: url('{{ . }}')"{{ end }}>
+ <h2>{{ .Title }}</h2>
+ {{ with .Params.subtitle }}
+ <p>{{ . }}</p>
+ {{ end }}
+ </header>
+ <section class="wrapper style5">
+ <div class="inner">
+ {{ .Content }}
+ </div>
+ </section>
+</article>
+{{ partial "footer.html" . }}