mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Create a Author class which has a url property
This commit is contained in:
parent
f9ed01bb64
commit
ff9c786149
6 changed files with 28 additions and 30 deletions
|
|
@ -15,7 +15,7 @@ except ImportError:
|
|||
Markdown = False
|
||||
import re
|
||||
|
||||
from pelican.contents import Category, Tag
|
||||
from pelican.contents import Category, Tag, Author
|
||||
from pelican.utils import get_date, open
|
||||
|
||||
|
||||
|
|
@ -24,6 +24,7 @@ _METADATA_PROCESSORS = {
|
|||
'date': lambda x: get_date(x),
|
||||
'status': unicode.strip,
|
||||
'category': Category,
|
||||
'author': Author,
|
||||
}
|
||||
|
||||
def _process_metadata(name, value):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue