gitbook-plugin-theme-december
v1.4.0
Published
Theme for using GitBook as a FAQ or Knowledge base
Downloads
6
Readme
GitBook FAQ Theme
This theme is a clone of theme-faq. December theme has a couple of customized modifications.
Tips
Be sure to open the en.json file and edit some of the translation strings.
Some things added
Now you can remove dependency on 3.3.7 bootstrap and use something from say... bootswatch or whatever else you want. Maybe add more meta tags!.
- added the tag for better markup
- added {% block custom_head %}{% endblock %} under {% block head %}
- added {% block custom_style %}{% endblock %} under {% block style %}
- the panel containers are now wrapped in a col-md-8 (33% grid)
- use http://realfavicongenerator.net to generate favicon package and add code to {% block custom_head %} in your _layouts/website/page.html file like:
- you'll upload files to folder assets/favicons/`
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<link rel="manifest" href="/assets/favicons/manifest.json">
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
<meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#000000">
- added the tag to page markup for better crawl
- added microdata to breadcrumbs -- https://schema.org/BreadcrumbList
Tweak book.json with plugin and plugin options like so:
{
"plugins": [
"theme-december",
"-fontsettings",
"-sharing"
],
"pluginsConfig": {
"": {
"": "",
}
}
}