From 6963f58102c368967cb7f0ed3fce5f978493177d Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 28 Jan 2021 22:16:01 +0100 Subject: First commit. --- layouts/_default/baseof.html | 34 ++++++++++++++++++++++++++++++++++ layouts/_default/list.html | 9 +++++++++ layouts/_default/single.html | 3 +++ 3 files changed, 46 insertions(+) create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..07a8f32 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + {{ .Title }} + + + + +
+ {{ block "main" . }}{{ end }} +
+ + + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..2fcfeba --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,9 @@ +{{ define "main" }} +{{ .Content }} +

Posts

+ +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..9983b08 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{ .Content }} +{{ end }} -- cgit v1.2.3