bySlug: {
          map: function (doc) {
            if (doc.type === 'Post' && doc.slug) {
              emit(doc.slug, doc);
            }