gatsby-plugin-feed
Advanced tools
Comparing version 1.3.11 to 1.3.12
@@ -111,2 +111,3 @@ "use strict"; | ||
f.query = (0, _lodash2.default)(options.query, f.query); | ||
delete options.query; | ||
} | ||
@@ -176,9 +177,5 @@ | ||
case 22: | ||
if (options.query) { | ||
delete options.query; | ||
} | ||
return _context2.abrupt("return", _promise2.default.resolve()); | ||
case 24: | ||
case 23: | ||
case "end": | ||
@@ -185,0 +182,0 @@ return _context2.stop(); |
@@ -22,5 +22,3 @@ "use strict"; | ||
var links = feeds.map(function (_ref2, i) { | ||
var output = _ref2.output, | ||
_ref2$feedTitle = _ref2.feedTitle, | ||
feedTitle = _ref2$feedTitle === undefined ? "" : _ref2$feedTitle; | ||
var output = _ref2.output; | ||
@@ -35,3 +33,2 @@ if (output.charAt(0) !== "/") { | ||
type: "application/rss+xml", | ||
title: feedTitle, | ||
href: output | ||
@@ -38,0 +35,0 @@ }); |
{ | ||
"name": "gatsby-plugin-feed", | ||
"version": "1.3.11", | ||
"version": "1.3.12", | ||
"description": "Creates an RSS feed for your Gatsby site.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -79,4 +79,3 @@ # gatsby-plugin-feed | ||
`, | ||
output: '/rss.xml', | ||
feedTitle: 'My feed title' | ||
output: '/rss.xml' | ||
} | ||
@@ -83,0 +82,0 @@ ] |
12082
201
86