From 8bee5baf5a1a247a67c5a340778837e26bfffabe Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 10 Mar 2024 16:14:27 +0100 Subject: Fixed indentations --- templates/feed.xml | 30 +++++++++++++++--------------- templates/index.html | 20 ++++++++++---------- templates/note.html | 4 ++-- templates/post.html | 2 +- 4 files changed, 28 insertions(+), 28 deletions(-) (limited to 'templates') diff --git a/templates/feed.xml b/templates/feed.xml index 97106d9..ce6ca07 100755 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -1,23 +1,23 @@ - {{ .Config.Title }}'s posts - {{ .Config.BaseURL }} - {{ .Config.Description }} - {{ .Config.Language }} + {{ .Config.Title }}'s posts + {{ .Config.BaseURL }} + {{ .Config.Description }} + {{ .Config.Language }} - {{ range $idx, $page := .Pages }} + {{ range $idx, $page := .Pages }} {{ if or (eq $page.Type "post") (eq $page.Type "note") }} {{ if not .Draft }} - - {{ $page.Title }} - {{ $.Config.BaseURL }}/{{ $page.RelPermalink }} - {{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} - {{ $.Config.BaseURL }}/{{ $page.RelPermalink }} - {{ $page.Summary }} - {{ $page.Raw }} - + + {{ $page.Title }} + {{ $.Config.BaseURL }}/{{ $page.RelPermalink }} + {{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} + {{ $.Config.BaseURL }}/{{ $page.RelPermalink }} + {{ $page.Summary }} + {{ $page.Raw }} + {{ end }} - {{ end }} - {{ end }} + {{ end }} + {{ end }} diff --git a/templates/index.html b/templates/index.html index da06fd7..39b3746 100755 --- a/templates/index.html +++ b/templates/index.html @@ -14,22 +14,22 @@

More long form, ramblings etc

Notes?! Maybe useful

{{ end }} diff --git a/templates/note.html b/templates/note.html index 5289a5e..36c6a3c 100755 --- a/templates/note.html +++ b/templates/note.html @@ -8,7 +8,7 @@

{{ .Page.Title }}

{{ .Page.Type }}, {{ .Page.Created.Format "Jan 2, 2006" }}, on {{ .Config.Title }}'s blog

- {{ .Page.HTML }} + {{ .Page.HTML }} +
- {{ end }} diff --git a/templates/post.html b/templates/post.html index 1ed852c..a36fc53 100755 --- a/templates/post.html +++ b/templates/post.html @@ -8,7 +8,7 @@

{{ .Page.Title }}

{{ .Page.Type }}, {{ .Page.Created.Format "Jan 2, 2006" }}, on {{ .Config.Title }}'s blog

- {{ .Page.HTML }} + {{ .Page.HTML }}
{{ end }} -- cgit v1.2.3