mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
Use tag name in keywords meta tag
This commit is contained in:
parent
73ef9cc7a6
commit
e8be3ae45b
@ -21,6 +21,10 @@
|
||||
<meta itemprop="image" content="{{ $featured.Permalink }}">
|
||||
{{ end }}
|
||||
|
||||
{{ with .Params.tags }}
|
||||
<meta itemprop="keywords" content="{{ delimit . ", " }}">
|
||||
{{ with (.GetTerms "tags") }}
|
||||
{{ $tags := slice }}
|
||||
{{ range . }}
|
||||
{{ $tags = $tags | append .LinkTitle }}
|
||||
{{ end }}
|
||||
<meta itemprop="keywords" content="{{ delimit $tags ", " }}">
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user