aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-08 18:55:54 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-08 18:56:15 +0200
commitb1cae597431053664bbc895a732c1a0d75c574bd (patch)
tree4553e3d386b7edd4af26f2dd82c4c0335e6bce46 /layouts/_default/single.html
parent383f0a2fe4f90c9231dc92e8fc34679c219f7009 (diff)
downloadhugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.tar.gz
hugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.tar.bz2
hugo-minimalist-theme-b1cae597431053664bbc895a732c1a0d75c574bd.zip
simple article content
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..9343abd
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,13 @@
+{{ define "main" }}
+<article class="ph2">
+ <header class="bg-green pa5">
+ <h1 class="f1 black-90">
+ {{ .Title }}</h1>
+
+ <div class="gray tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
+ </header>
+ <div class="f5 lh-copy pv4 ph2 black-80">
+ {{ .Content }}
+ </div>
+</article>
+{{ end }}