Skip to content

Add a nice sidebar ad to your GitBook with a carousel to cater for sponsored ads.

License

Notifications You must be signed in to change notification settings

DjangoGirls/gitbook-plugin-sidebar-ads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBook Sidebar Ad with Carousel plugin

Add a nice sidebar ad to your GitBook with a carousel to cater for sponsored ads. This is based on the GitBook Sidebar Ad plugin developed by Ola Sitarska for the Django Girls Tutorial.

Example:

Example

See demo

How to use it:

Add this to your "book.json":

{
    "plugins": ["sidebar-ads"],
    "pluginsConfig": {
        "sidebar-ads": {
            "ads": [
                {
                    "imageUrl": "https://i.imgur.com/K3HPXzm.png",
                    "url": "http://google.com/",
                    "description": "text",
                    "btnText": "Buy me again!"
                },
                {
                    "imageUrl": "https://i.imgur.com/K3HPXzm.png",
                    "url": "http://google.com/",
                    "description": "text",
                    "btnText": "Buy me again!"
                },
            ]
        },
    }
}

License

BSD-2-Clause

About

Add a nice sidebar ad to your GitBook with a carousel to cater for sponsored ads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published