From b1cae597431053664bbc895a732c1a0d75c574bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 8 Jul 2018 18:55:54 +0200 Subject: simple article content --- layouts/_default/single.html | 13 +++++++++++++ layouts/_default/summary.html | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 layouts/_default/single.html 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" }} +
+
+

+ {{ .Title }}

+ +
{{ .Date.Format "Mon, Jan 2, 2006" }}
+
+
+ {{ .Content }} +
+
+{{ end }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 3052456..178f7a5 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,12 +1,12 @@
-

+

{{ .Title }}

{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words
-

+

{{ .Summary }}