diff --git a/book.toml b/book.toml index 088c179a..4fecb955 100644 --- a/book.toml +++ b/book.toml @@ -41,7 +41,7 @@ traverse-parent-directories = false optional = true exclude = [ '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 - 'print.html', # Do not check the print page, as it is generated separately - 'single.html', # Do not check the single page, as it is generated separately - 'http[s]*://problemkaputt\.de', # Skip checking problemkaputt.de, as connection to this domain is generally unreliable + 'print.html', # Do not check the print page, as it is generated separately + 'single.html', # Do not check the single page, as it is generated separately + 'http[s]*://problemkaputt\.de', # Skip checking problemkaputt.de, as connection to this domain is generally unreliable ] diff --git a/theme/head.hbs b/theme/head.hbs new file mode 100644 index 00000000..1f6cd91c --- /dev/null +++ b/theme/head.hbs @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/theme/index.hbs b/theme/index.hbs deleted file mode 100644 index 9860e7b8..00000000 --- a/theme/index.hbs +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - {{ title }} - {{#if is_print }} - - {{/if}} - {{#if base_url}} - - {{/if}} - - - - {{> head}} - - - - - - - - - - - - - - - - - {{#if favicon_svg}} - - {{/if}} - {{#if favicon_png}} - - {{/if}} - - - - {{#if print_enable}} - - {{/if}} - - - - {{#if copy_fonts}} - - {{/if}} - - - - - - - - {{#each additional_css}} - - {{/each}} - - {{#if mathjax_support}} - - - {{/if}} - - - - - - - - - - - - - - - - -
- -
- {{> header}} - - - - {{#if search_enabled}} - - {{/if}} - - - - -
-
- {{{ content }}} -
- - -
-
- - - -
- - {{#if livereload}} - - - {{/if}} - - {{#if google_analytics}} - - - {{/if}} - - {{#if playground_line_numbers}} - - {{/if}} - - {{#if playground_copyable}} - - {{/if}} - - {{#if playground_js}} - - - - - - {{/if}} - - {{#if search_js}} - - - - {{/if}} - - - - - - - {{#each additional_js}} - - {{/each}} - - {{#if is_print}} - {{#if mathjax_support}} - - {{else}} - - {{/if}} - {{/if}} - - -