Skip to content

Commit ae89342

Browse files
committed
Avoid overriding the entire index.hbs file
Avoids breakage across mdBook versions (e.g. live-reload recently stopped working)
1 parent 0c8e532 commit ae89342

File tree

3 files changed

+12
-325
lines changed

3 files changed

+12
-325
lines changed

book.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ traverse-parent-directories = false
4141
optional = true
4242
exclude = [
4343
'https://github\.com/gbdev/pandocs/tree/', # Do not check the "this was generated from commit N" link, as the commit may not have been pushed yet
44-
'print.html', # Do not check the print page, as it is generated separately
45-
'single.html', # Do not check the single page, as it is generated separately
46-
'http[s]*://problemkaputt\.de', # Skip checking problemkaputt.de, as connection to this domain is generally unreliable
44+
'print.html', # Do not check the print page, as it is generated separately
45+
'single.html', # Do not check the single page, as it is generated separately
46+
'http[s]*://problemkaputt\.de', # Skip checking problemkaputt.de, as connection to this domain is generally unreliable
4747
]

theme/head.hbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Open Graph tags-->
2+
<meta name="og:site_name" content="summary" />
3+
<meta name="og:image" content="https://gbdev.io/pandocs/favicon.png" />
4+
<meta name="og:title" content="{{ title }}" />
5+
<meta name="og:description" content="{{ description }}" />
6+
7+
<!-- Twitter meta tags -->
8+
<meta name="twitter:card" content="summary" />
9+
<meta name="twitter:site" content="@gbdev0" />

theme/index.hbs

Lines changed: 0 additions & 322 deletions
This file was deleted.

0 commit comments

Comments
 (0)