From 968b6bb3469cd278de808df5cead253f17d86ab5 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 7 Jan 2018 00:13:08 -0500 Subject: [PATCH] Updated entry templates. Created static directly. --- layouts/_default/single.html | 2 +- layouts/entry/single.html | 13 +++++++++++++ layouts/entry/summary.html | 18 ++++++++++++++++++ static/.gitkeep | 0 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 layouts/entry/single.html create mode 100644 layouts/entry/summary.html create mode 100644 static/.gitkeep diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 17e6667..a8472c9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,4 +6,4 @@ {{ .Content }} -{{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/entry/single.html b/layouts/entry/single.html new file mode 100644 index 0000000..2580a0e --- /dev/null +++ b/layouts/entry/single.html @@ -0,0 +1,13 @@ +{{ define "main" }} +
+ +
+ +
+

{{ .Title }}

+

{{ .Date.Format "January 02 2006" }}

+
+ {{ .Content }} +
+
+{{ end }} \ No newline at end of file diff --git a/layouts/entry/summary.html b/layouts/entry/summary.html new file mode 100644 index 0000000..ef773f5 --- /dev/null +++ b/layouts/entry/summary.html @@ -0,0 +1,18 @@ + +
+
+
+ +
+
+ +
+

{{ .Title }}

+

{{ .Date.Format "January 02 2006" }} by {{ .Params.author }}

+ +
+ {{ .Summary }} +
+
+
+
\ No newline at end of file diff --git a/static/.gitkeep b/static/.gitkeep new file mode 100644 index 0000000..e69de29