format: Fix whitespace
parent
165d84b25f
commit
0c85b94f9f
|
@ -22,9 +22,9 @@ Published on {{ .Date.Format "Jan 02, 2006" }}.
|
||||||
```
|
```
|
||||||
|
|
||||||
=> / Return to the homepage
|
=> / Return to the homepage
|
||||||
{{ with .OutputFormats.Get "html" }}
|
{{- with .OutputFormats.Get "html" }}
|
||||||
=> {{ .Permalink }} See “{{ $.Title | safeHTML }}” on the WWW
|
=> {{ .Permalink }} See “{{ $.Title | safeHTML }}” on the WWW
|
||||||
{{ end }}
|
{{- end }}
|
||||||
{{ with .Params.comments }}=> https://{{ .host }}/@{{ .user }}/{{ .id }} You may comment here{{ end }}
|
{{- with .Params.comments }}=> https://{{ .host }}/@{{ .user }}/{{ .id }} You may comment here{{ end }}
|
||||||
|
|
||||||
{{ .Site.Copyright }}
|
{{ .Site.Copyright }}
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
## Blog Posts
|
## Blog Posts
|
||||||
|
|
||||||
{{ with .OutputFormats.Get "html" }}
|
{{ with .OutputFormats.Get "html" -}}
|
||||||
=> {{ .Permalink }} More posts on WWW
|
=> {{ .Permalink }} More posts on WWW
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|
||||||
{{ range (where .Site.RegularPages "Section" "blog") }}
|
{{ range (where .Site.RegularPages "Section" "blog") }}
|
||||||
{{- if .OutputFormats.Get "gemtext" }}
|
{{- if .OutputFormats.Get "gemtext" }}
|
||||||
=> {{ replace .Permalink "/gemini" "" 1 }} {{ .Date.Format "Jan 02, 2006" }}: {{ .Title | safeHTML }}{{ end }}{{ end }}
|
=> {{ replace .Permalink "/gemini" "" 1 }} {{ .Date.Format "Jan 02, 2006" }}: {{ .Title | safeHTML }}{{ end }}{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{ .Site.Copyright }}
|
{{ .Site.Copyright }}
|
||||||
|
|
Loading…
Reference in New Issue