fix opengraph summary; added twitter meta tags
This commit is contained in:
parent
23381aaf63
commit
603a9f6d6e
3 changed files with 29 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
{{ if .Params.description }}
|
||||
<meta property="og:description" content="{{ .Params.description }}" />
|
||||
{{ else }}
|
||||
<meta property="og:description" content="{{ substr .Summary 20 }}" />
|
||||
<meta property="og:description" content="{{ substr .Summary 0 160 }}" />
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<meta property="og:title"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue