format: Fix whitespace

main
earnest ma 2021-02-11 23:33:35 -05:00
parent 165d84b25f
commit 0c85b94f9f
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
2 changed files with 5 additions and 6 deletions

View File

@ -22,9 +22,9 @@ Published on {{ .Date.Format "Jan 02, 2006" }}.
```
=> / Return to the homepage
{{ with .OutputFormats.Get "html" }}
{{- with .OutputFormats.Get "html" }}
=> {{ .Permalink }} See “{{ $.Title | safeHTML }}” on the WWW
{{ end }}
{{ with .Params.comments }}=> https://{{ .host }}/@{{ .user }}/{{ .id }} You may comment here{{ end }}
{{- end }}
{{- with .Params.comments }}=> https://{{ .host }}/@{{ .user }}/{{ .id }} You may comment here{{ end }}
{{ .Site.Copyright }}

View File

@ -2,13 +2,12 @@
## Blog Posts
{{ with .OutputFormats.Get "html" }}
{{ with .OutputFormats.Get "html" -}}
=> {{ .Permalink }} More posts on WWW
{{ end }}
{{- end -}}
{{ range (where .Site.RegularPages "Section" "blog") }}
{{- if .OutputFormats.Get "gemtext" }}
=> {{ replace .Permalink "/gemini" "" 1 }} {{ .Date.Format "Jan 02, 2006" }}: {{ .Title | safeHTML }}{{ end }}{{ end }}
{{ .Site.Copyright }}