Skip to content

Commit b479234

Browse files
committed
include component title in OpenGraph description metadata
1 parent 91f68ef commit b479234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/head-info.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{#if page.component}}
2020
<meta property="og:site_name" content="Asciidoctor Docs">
2121
<meta name="twitter:card" content="summary_large_image">
22-
<meta property="og:title" content="{{{detag page.title}}}">
22+
<meta property="og:title" content="{{{page.component.title}}} - {{{detag page.title}}}">
2323
<meta property="og:image" content="{{{or site.url siteRootPath}}}/_/img/asciidoctor-og.png">
2424
<meta name="twitter:site" content="@asciidoctor">
2525
{{/if}}

0 commit comments

Comments
 (0)