mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Support semicolon-separated author/tag lists.
Idea borrowed from Docutils. This allows one to write author lists in lastname,firstname format. The code change also means that readers with fancy metadata that can natively represent lists (e.g. Docutils itself, or MD-Yaml) don't have to merge 'em back together for process_metadata's sake.
This commit is contained in:
parent
940eb76b7f
commit
c918380802
6 changed files with 67 additions and 9 deletions
10
pelican/tests/content/article_with_multiple_authors_list.rst
Normal file
10
pelican/tests/content/article_with_multiple_authors_list.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
This is an article with multiple authors in list format!
|
||||
########################################################
|
||||
|
||||
:date: 2014-02-09 02:20
|
||||
:modified: 2014-02-09 02:20
|
||||
:authors: - Author, First
|
||||
- Author, Second
|
||||
|
||||
The author names are in last,first form to verify that
|
||||
they are not just getting split on commas.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
This is an article with multiple authors in lastname, firstname format!
|
||||
#######################################################################
|
||||
|
||||
:date: 2014-02-09 02:20
|
||||
:modified: 2014-02-09 02:20
|
||||
:authors: Author, First; Author, Second
|
||||
Loading…
Add table
Add a link
Reference in a new issue