forked from github/pelican
Add relative_source_path attribute to content
This commit is contained in:
parent
071f4756c9
commit
42c27594ab
3 changed files with 68 additions and 31 deletions
|
|
@ -110,6 +110,7 @@ class Content(object):
|
|||
regex_subs=settings.get('SLUG_REGEX_SUBSTITUTIONS', []))
|
||||
|
||||
self.source_path = source_path
|
||||
self.relative_source_path = self.get_relative_source_path()
|
||||
|
||||
# manage the date format
|
||||
if not hasattr(self, 'date_format'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue