Skip to content

Commit 7bdcddc

Browse files
committed
Touch up OpenGraph tags
Move book title ("Pan Docs") from page title to site name (The current "summary" looks like a copy-paste mistake from the Twitter tags)
1 parent aa70230 commit 7bdcddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

theme/head.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Open Graph tags-->
2-
<meta name="og:site_name" content="summary" />
2+
<meta name="og:site_name" content="{{ book_title }}" />
33
<meta name="og:image" content="https://gbdev.io/pandocs/favicon.png" />
4-
<meta name="og:title" content="{{ title }}" />
4+
<meta name="og:title" content="{{#if chapter_title}}{{ chapter_title }}{{else}}{{ book_title }}{{/if}}" />
55
<meta name="og:description" content="{{ description }}" />
66

77
<!-- Twitter meta tags -->

0 commit comments

Comments
 (0)