From 16103599b3438492f36d882276c6a65817bdd557 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 24 Aug 2021 19:10:29 +0200 Subject: [PATCH] Add some basic layout HTML --- layouts/_default/list.html | 15 +++++++++++++++ layouts/_default/single.html | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..1a1d085 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,15 @@ + + + + {{.Title}} + + +

{{.Title}}

+ {{.Content}} + {{ range .Pages }} + + {{end}} + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..1289c07 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,12 @@ + + + + {{.Title}} + + +

{{.Title}}

+

{{.Date}}

+
+ {{.Content}} + +