code: function links(options) {
      var page = this.page;
  
      return this.navigation.reduce(function reduce(menu, item) {
        if (page === item.page) item.class = (item.class || '') + ' active';
  
        if (item.class) item.class = ' class="' + item.class + '"';
        if (item.swap) item.swap = ' data-swap="' + item.swap.hide + '@' + item.swap.show + '"';
        if (item.effect) item.effect = ' data-effect="' + item.effect + '"';
  
        item.href = item.href || '#';
        return menu + options.fn(item);
      }, '');
    }
docs: Handblebar helper to generate each pill. The base is defined by
  the active page and should match the page defined in the navigation.
  
  @param {Object} options
  @return {String} generated template
  @api private