Skip to content

Commit 683a426

Browse files
committed
adds custom meta to the front matter
Signed-off-by: Kyle J. Davis <[email protected]>
1 parent 83cc9db commit 683a426

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/includes/head.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
<meta name="Copyright" content="" />
88
<meta name="keywords" content="open-source, valkey" />
99
<meta property="og:image" content="/img/valkey-logo-og.png" />
10+
{% if page and page.extra and page.extra.custom_meta%}
11+
{{ page.extra.custom_meta | safe }}
12+
{% endif %}
13+
{% if section and section.extra and section.extra.custom_meta%}
14+
{{ section.extra.custom_meta | safe }}
15+
{% endif %}
16+
1017
{% if page and page.description %}<meta name="description" content="{{ page.description}}" />
1118
{% elif section and section.description %}<meta name="description" content="{{ section.description}}" />{% endif %}
1219

0 commit comments

Comments
 (0)