code: function() {
              cfg = this.config.get('pluginsConfig.localized-footer'), _this = this;
  
              try {
                  fs.statSync(this.resolve(cfg.filename));
                  hasFooterFile = true;
              } catch (e) {
                  hasFooterFile = false;
                  return;
              }
  
              deprecationWarning(this);
  
              this.readFileAsString(cfg.filename)
                  .then(function(data) {
                      return _this.renderBlock('markdown', data);
                  }, this.log.error)
                  .then(function(html) {
                      footerString = html;
                  }, this.log.error);
          }
docs: called on each book & each language book