format: Fix whitespace
parent
165d84b25f
commit
0c85b94f9f
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue