From 24897b4ec55af3f21ce690783b9ca62c51f2ee67 Mon Sep 17 00:00:00 2001 From: frosty Date: Mon, 19 May 2025 08:48:52 -0400 Subject: initial commit --- themes/polaris/layouts/_default/baseof.html | 23 +++++++++++++++++++++++ themes/polaris/layouts/_default/home.html | 4 ++++ themes/polaris/layouts/_default/now.html | 8 ++++++++ themes/polaris/layouts/_default/single.html | 5 +++++ 4 files changed, 40 insertions(+) create mode 100644 themes/polaris/layouts/_default/baseof.html create mode 100644 themes/polaris/layouts/_default/home.html create mode 100644 themes/polaris/layouts/_default/now.html create mode 100644 themes/polaris/layouts/_default/single.html (limited to 'themes/polaris/layouts/_default') diff --git a/themes/polaris/layouts/_default/baseof.html b/themes/polaris/layouts/_default/baseof.html new file mode 100644 index 0000000..b6ccdac --- /dev/null +++ b/themes/polaris/layouts/_default/baseof.html @@ -0,0 +1,23 @@ + + + + + {{ .Site.Title }} + + {{ $style := resources.Get "css/style.css" | minify | fingerprint }} + + + + +
+ {{ block "main" . }} + {{ .Content }} + {{ end }} +
+ + + diff --git a/themes/polaris/layouts/_default/home.html b/themes/polaris/layouts/_default/home.html new file mode 100644 index 0000000..6e46985 --- /dev/null +++ b/themes/polaris/layouts/_default/home.html @@ -0,0 +1,4 @@ +{{ define "main" }} + {{ .Content }} + {{ partial "posts.html" }} +{{ end }} diff --git a/themes/polaris/layouts/_default/now.html b/themes/polaris/layouts/_default/now.html new file mode 100644 index 0000000..bb77eaf --- /dev/null +++ b/themes/polaris/layouts/_default/now.html @@ -0,0 +1,8 @@ +{{ define "main" }} +

{{ .Title }}

+ {{ .Content }} +

+ Last updated {{ .Date | time.Format "Jan 02 2006" }}. + What the heck is a “now page”? +

+{{ end }} diff --git a/themes/polaris/layouts/_default/single.html b/themes/polaris/layouts/_default/single.html new file mode 100644 index 0000000..d87f112 --- /dev/null +++ b/themes/polaris/layouts/_default/single.html @@ -0,0 +1,5 @@ +{{ define "main" }} +

{{ .Title }}

+

Written {{ .Date | time.Format "Jan 02 2006" }}.

+ {{ .Content }} +{{ end }} -- cgit v1.2.3-70-g09d2