Skip to content

Commit

Permalink
Better handling of item.url property
Browse files Browse the repository at this point in the history
v0.2.5
  • Loading branch information
Patrick Burtchaell committed Aug 1, 2014
1 parent 7b90042 commit e3e12b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "assemble-middleware-rss",
"description": "RSS generator plugin for Assemble.",
"version": "0.2.4",
"version": "0.2.5",
"homepage": "https://github.com/assemble/assemble-middleware-rss",
"author": "Patrick Burtchael <patrick@pburtchaell.com> (https://pburtchaell.com/)",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ module.exports = function (config, callback) {
title: page.title || fail('title'),
author: defaults.author || page.author || fail('author'),
description: page.description || fail('description'),
url: page.url || url.resolve(pkg.homepage, file.dest),
url: url.resolve(pkg.homepage, file.relativeLink),
guid: page.guid || page.url,
categories: page.categories,
lat: page.lat,
Expand Down

0 comments on commit e3e12b2

Please sign in to comment.