forked from github/pelican
Replace omitted slash in feed URL generation
This slash was originally present, but I removed it at some point because it was causing double-slashes. I believe the reason is that I had a leading slash in my article URL pattern, which in retrospect should not have been there. Omitting the slash caused problems for other folks; I should have tested this better. This commit puts the slash back where it belongs.
This commit is contained in:
parent
e694cdc2b3
commit
e29b54e5e0
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class Writer(object):
|
|||
|
||||
feed.add_item(
|
||||
title=item.title,
|
||||
link='%s%s' % (self.site_url, item.url),
|
||||
link='%s/%s' % (self.site_url, item.url),
|
||||
unique_id='tag:%s,%s:%s' % (self.site_url.replace('http://', ''),
|
||||
item.date.date(), item.url),
|
||||
description=item.content,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue