From 92ecccca9a70c14ca9faf3b7e0bf95e54dd7b208 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Tue, 26 Jun 2018 10:19:35 +1000 Subject: [PATCH] Adds layout for the About page --- layouts/about/single.html | 10 ++++++++++ layouts/partials/content_about.html | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 layouts/about/single.html create mode 100644 layouts/partials/content_about.html diff --git a/layouts/about/single.html b/layouts/about/single.html new file mode 100644 index 0000000..674f63e --- /dev/null +++ b/layouts/about/single.html @@ -0,0 +1,10 @@ +{{ define "header" -}} + {{ partial "header.html" . }} +{{- end -}} + +{{ define "content" -}} + {{ partial "content_about.html" . }} +{{- end -}} + +{{ define "footer" -}} +{{- end -}} diff --git a/layouts/partials/content_about.html b/layouts/partials/content_about.html new file mode 100644 index 0000000..1524b86 --- /dev/null +++ b/layouts/partials/content_about.html @@ -0,0 +1,4 @@ +
+

{{ .Title }}

+ {{ .Content }} +
\ No newline at end of file