Skip to content

Commit 55be7c2

Browse files
committed
fix: 🐛
1 parent 2d04f53 commit 55be7c2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

layouts/partials/extended_head.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<meta name="naver-site-verification" content="8b94634fcdf2a0e1f740932bcbcabfd3099019c5" />
77

8+
{{ if eq .Section "posts" }}
89
<script type="application/ld+json">
9-
{{- if eq .Section "posts" -}}
1010
{
1111
"@context": "https://schema.org",
1212
"@type": "BlogPosting",
@@ -26,8 +26,10 @@
2626
},
2727
"description": {{ .Summary | plainify | safeHTML }},
2828
"keywords": [{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}]
29-
},
30-
{{- end -}}
29+
}
30+
</script>
31+
{{ end }}
32+
<script type="application/ld+json">
3133
{
3234
"@context": "https://schema.org",
3335
"@type": "Organization",

0 commit comments

Comments
 (0)