gitbook-plugin-theme-website

1.0.1 • Public • Published

GitBook Theme for header and footer

This is a theme which adds header and footer in your gitbook. It adds a logo of your company. It also adds links to your header and footer if you need.

To use it in your gitbook, add it to your book.json

{
    "plugins": ["theme-website"]
}

To add links to header and footer, and logo to header

{
    "plugins": ["theme-website"],
    "pluginsConfig": {
        "theme-sectionfy": {
            "title": "Git Info book title",
            "logo": "/assets/300-dpi-high-resolution-logo.png",
            "favicon": "/assets/home.png",
            "footer": {
                "copyright-text": "©2017 Resereved for world",
                "links": [
                    {
                        "title": "Home",
                        "link": "/home"
                    },
                    {
                        "title": "About",
                        "link": "/about"
                    }
                ]
            },
            "header":{
                "links": [
                    {
                        "title": "Home",
                        "link": "/home"
                    },
                    {
                        "title": "About",
                        "link": "/about"
                    }
                ]
            }
        }
    }
}

Package Sidebar

Install

npm i gitbook-plugin-theme-website

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

207 kB

Total Files

86

Last publish

Collaborators

  • jasminmakasana