mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Remove non-existent tag attribute handling from Content.url_format
This commit is contained in:
parent
45c884cba5
commit
6923a7bca0
2 changed files with 1 additions and 15 deletions
|
|
@ -213,7 +213,6 @@ class Content(object):
|
|||
'lang': getattr(self, 'lang', 'en'),
|
||||
'date': getattr(self, 'date', SafeDatetime.now()),
|
||||
'author': self.author.slug if hasattr(self, 'author') else '',
|
||||
'tag': self.tag.slug if hasattr(self, 'tag') else '',
|
||||
'category': self.category.slug if hasattr(self, 'category') else ''
|
||||
})
|
||||
return metadata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue