mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 04:14:41 +00:00
metadata: If set, use the summary parameter for og:description
Close #518
This commit is contained in:
1 parent
4661fbcce6
commit
3b15254f18
1 file changed
+2
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user