Fix author not being set
This commit is contained in:
parent
1e24ed327a
commit
ed5ef93be2
|
@ -50,7 +50,7 @@ class Article : Page {
|
||||||
override protected void loadHeader(Node headerNode) {
|
override protected void loadHeader(Node headerNode) {
|
||||||
super.loadHeader(headerNode);
|
super.loadHeader(headerNode);
|
||||||
this.m_author = headerNode.getOr!string("author", "<unknown author>");
|
this.m_author = headerNode.getOr!string("author", "<unknown author>");
|
||||||
this.m_author = headerNode.getOr!string("excerpt", null);
|
this.excerpt = headerNode.getOr!string("excerpt", null);
|
||||||
|
|
||||||
SysTime firstPublished;
|
SysTime firstPublished;
|
||||||
firstPublished = headerNode.getOr!SysTime("firstPublished", SysTime(DateTime.fromSimpleString("0001-Jan-01 00:00:00")));
|
firstPublished = headerNode.getOr!SysTime("firstPublished", SysTime(DateTime.fromSimpleString("0001-Jan-01 00:00:00")));
|
||||||
|
|
Loading…
Reference in a new issue