L3au/gitbook-plugin-git-author

Plugin is not working

sta-szek opened this issue · 2 comments

My books.json is:

{
  "plugins" : ["anchors",
               "toggle-chapters",
               "sitemap", 
               "nocache", 
               "back-to-top-button",
               "git-author",
               "advanced-emoji",
               "ga",
               "github"],
  "pluginsConfig": {
      "git-author": {
          "position": "bottom",
          "modifyTpl": "Last modified by {user} {timeStamp}",
          "createTpl": "Created by {user} {timeStamp}",
          "timeStampFormat": "YYYY-MM-DD HH:mm:ss"
      },
      "ga": {
          "token": "XXXX"
      },
      "sitemap": {
          "hostname": "https://pojo.pl/"
      },
      "github": {
          "url": "https://github.com/sta-szek/pojo-tester"
      }
  }
}

CSS is present on page:
image

But JS not:
image

Is my configuration wrong?

There is no author div on page

L3au commented

There is no js file.

You need manage your project with git and commit at least once, then author div will be created in gitbook build.

Yeah I was newbie with plugins. I build book locally and it worked.