From 743d1e3d4c421385111dfd63482cd92a5fff02c1 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 1 Dec 2025 22:27:26 -0800 Subject: move micro to its own site (better compatability with indieweb feats) --- .../themes/MinIndie/layouts/notes/notes.html | 42 +++++++++++++++++++++ .../themes/MinIndie/layouts/notes/single.html | 44 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 indieweb-micro/themes/MinIndie/layouts/notes/notes.html create mode 100644 indieweb-micro/themes/MinIndie/layouts/notes/single.html (limited to 'indieweb-micro/themes/MinIndie/layouts/notes') diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html new file mode 100644 index 0000000..e0e0d17 --- /dev/null +++ b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html @@ -0,0 +1,42 @@ +{{ define "main" }} +
+ {{ $pageKind := .Kind }} + {{ if or .Title .Content }} +
+ {{ with .Title }} +

+ {{ . }} + RSS icon + h-feed icon +

+ {{ end }} + {{ with .Content }}
{{ . }}
{{ end }} +
+ {{ end }} + +
+ {{ range .Pages }} +
+ +

+ {{ .Content }} +

+ + + + {{ with .Params.Tags }} + - Tags: + {{ range . }} + #{{ . }} + {{ end }} + {{ end }} +
+ {{ end }} +
+ +
+{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/single.html b/indieweb-micro/themes/MinIndie/layouts/notes/single.html new file mode 100644 index 0000000..32afcea --- /dev/null +++ b/indieweb-micro/themes/MinIndie/layouts/notes/single.html @@ -0,0 +1,44 @@ +{{ define "main" }} +{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }} +
+
+ +
+ + - Permalink +
+ + {{- if or .Params.categories .Params.tags -}} + + {{- end -}} + + {{- partial "article-precontent.html" . -}} + +
+ {{ .Content }} +
+
+
+{{ end }} -- cgit v1.2.3