reindent twitter_cards

This commit is contained in:
Reorx 2022-05-05 11:11:43 +08:00
parent edc5565447
commit 607bfbc544
1 changed files with 27 additions and 26 deletions

View File

@ -26,6 +26,7 @@
{{- end -}} {{- end -}}
{{- end }} {{- end }}
{{- end }} {{- end }}
<meta name="twitter:title" content="{{ .Title }}"/> <meta name="twitter:title" content="{{ .Title }}"/>
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/> <meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}"/>
{{ with site.Social.twitter -}} {{ with site.Social.twitter -}}