assemble-contrib-sitemap
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -30,4 +30,4 @@ See [sitemaps.org](http://www.sitemaps.org/protocol.html#xmlTagDefinitions) for detail XML tag definitions. | ||
## priority | ||
Type: `String` | ||
Default: `weekly` | ||
Type: `Float` | ||
Default: `0.5` | ||
@@ -57,2 +57,2 @@ The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers. | ||
Generate robots.txt from `exclusions` list. | ||
Generate robots.txt from `exclusions` list. |
{ | ||
"name": "assemble-contrib-sitemap", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Sitemap generator plugin for Assemble", | ||
@@ -5,0 +5,0 @@ "homepage": "http://assemble.io/plugins", |
@@ -53,3 +53,3 @@ # assemble-contrib-sitemap [![NPM version](https://badge.fury.io/js/assemble-contrib-sitemap.png)](http://badge.fury.io/js/assemble-contrib-sitemap) [![Build Status](https://travis-ci.org/assemble/assemble-contrib-sitemap.png)](https://travis-ci.org/assemble/assemble-contrib-sitemap) | ||
Type: `String` | ||
Default: `assemble.pages` | ||
Default: `undefined` | ||
@@ -79,4 +79,4 @@ Sitemap destination. If not set, fallback to assemble destination. | ||
### priority | ||
Type: `String` | ||
Default: `weekly` | ||
Type: `Float` | ||
Default: `0.5` | ||
@@ -109,2 +109,3 @@ The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers. | ||
## Usage Examples | ||
@@ -182,2 +183,2 @@ ### Simple | ||
_This file was generated on Saturday, February 22, 2014._ | ||
_This file was generated on Tuesday, March 25, 2014._ |
@@ -62,5 +62,5 @@ /* | ||
var changefreq = file.data.changefreq || options.changefreq; | ||
var priority = options.priority; | ||
var priority = file.data.priority || options.priority; | ||
var relativedest = options.relativedest; | ||
if (exclusion.indexOf(file.basename) !== -1 || | ||
@@ -110,2 +110,2 @@ grunt.file.isMatch({srcBase: options.dest}, exclusion, file.dest)) { | ||
stage: 'render:pre:pages' | ||
}; | ||
}; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
199
180
22436
1