@11ty/eleventy-plugin-rss
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
{ | ||
"name": "@11ty/eleventy-plugin-rss", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "A pack of Eleventy plugins for generating an RSS feed using the Nunjucks templating engine.", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -11,3 +11,3 @@ const pkg = require("../package.json"); | ||
return `<?xml version="1.0" encoding="utf-8"?> | ||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:base="{{ metadata.base | addPathPrefixToFullUrl }}" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
${options.stylesheet ? `<?xml-stylesheet href="${options.stylesheet}" type="text/xsl"?>\n` : ""}<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:base="{{ metadata.base | addPathPrefixToFullUrl }}" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
@@ -37,3 +37,3 @@ <title>{{ metadata.title }}</title> | ||
return `<?xml version="1.0" encoding="utf-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ metadata.language or page.lang }}"> | ||
${options.stylesheet ? `<?xml-stylesheet href="${options.stylesheet}" type="text/xsl"?>\n` : ""}<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ metadata.language or page.lang }}"> | ||
<title>{{ metadata.title }}</title> | ||
@@ -40,0 +40,0 @@ <subtitle>{{ metadata.subtitle }}</subtitle> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15322