mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-06-19 07:01:11 +00:00
seo/geo
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta name="twitter:creator" content="@{{ . }}" />
|
||||
{{- end -}}
|
||||
<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="{{ partial "utils/page-description.html" . }}" />
|
||||
|
||||
{{- with $.Params.images -}}
|
||||
{{- range first 1 . }}<meta name="twitter:image" content="{{ . | absURL }}" />{{ end -}}
|
||||
@@ -21,4 +21,4 @@
|
||||
{{- with .Params.audio }}<meta name="twitter:player" content="{{ . }}" />{{ end }}
|
||||
{{- with .Params.videos }}
|
||||
{{- range first 1 . }}<meta name="twitter:player" content="{{ . | absURL }}" />{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user