metadata: If set, use the summary parameter for og:description

Close #518
This commit is contained in:
George Cushen committed 2018-07-23 12:45:43 +01:00
1 parent 4661fbcce6
commit 3b15254f18
1 file changed
+2
+2
View File
@@ -15,6 +15,8 @@
{{ if .IsPage }}
{{ if .Params.abstract }}
{{ $scr.Set "description" .Params.abstract }}
{{ else if .Params.summary }}
{{ $scr.Set "description" .Params.summary }}
{{ else }}
{{ $scr.Set "description" .Summary }}
{{ end }}