From bd9a50e9c824e89d8a91fd54c8bc838cdfa796f6 Mon Sep 17 00:00:00 2001 From: Darin Dimitroff Date: Sun, 1 Jan 2017 16:39:14 +0200 Subject: Initial commit --- site/layouts/post/li.html | 6 ++++++ site/layouts/post/list.html | 14 ++++++++++++++ site/layouts/post/single.html | 13 +++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 site/layouts/post/li.html create mode 100644 site/layouts/post/list.html create mode 100644 site/layouts/post/single.html (limited to 'site/layouts/post') diff --git a/site/layouts/post/li.html b/site/layouts/post/li.html new file mode 100644 index 0000000..de2d1da --- /dev/null +++ b/site/layouts/post/li.html @@ -0,0 +1,6 @@ + +

{{ .Title }}

+

{{ .Date.Format "Mon, Jan 2, 2006" }}

+

{{ .Summary }}

+ +
diff --git a/site/layouts/post/list.html b/site/layouts/post/list.html new file mode 100644 index 0000000..5d13c7e --- /dev/null +++ b/site/layouts/post/list.html @@ -0,0 +1,14 @@ +{{ partial "header" . }} +{{ partial "nav" . }} + +{{ partial "jumbotron" (dict "imageUrl" "img/2.jpg" "title" "post title goes here") }} + + + +{{ partial "footer" . }} diff --git a/site/layouts/post/single.html b/site/layouts/post/single.html new file mode 100644 index 0000000..e7198b3 --- /dev/null +++ b/site/layouts/post/single.html @@ -0,0 +1,13 @@ +{{ partial "header" . }} +{{ partial "nav" . }} +
+

{{.Title}}

+
+

{{ .Date.Format "Mon, Jan 2, 2006" }}

+

Read in {{ .ReadingTime }} minutes

+
+
+ {{ .Content }} +
+
+{{ partial "footer" . }} -- cgit v1.3