Fix author not being set and image layout

This commit is contained in:
Chris Josten 2020-06-26 11:43:55 +02:00
parent 1e24ed327a
commit e3f14ee085
2 changed files with 6 additions and 1 deletions

View file

@ -191,6 +191,10 @@ dl.project-platforms-technologies {
padding: 0.2em 0.4em;
}
article :not(figure) > img {
float: right;
}
div.sourceCode, blockquote, .screenshots {
scrollbar-color: var(--colour-fg-highlight) var(--colour-bg-code);
/*scrollbar-width: thin;*/
@ -206,6 +210,7 @@ pre, blockquote {
padding-right: 1em;
margin-left: 1em;
margin-right: 1em;
clear: both;
}
blockquote footer {

View file

@ -50,7 +50,7 @@ class Article : Page {
override protected void loadHeader(Node headerNode) {
super.loadHeader(headerNode);
this.m_author = headerNode.getOr!string("author", "<unknown author>");
this.m_author = headerNode.getOr!string("excerpt", null);
this.m_excerpt = headerNode.getOr!string("excerpt", null);
SysTime firstPublished;
firstPublished = headerNode.getOr!SysTime("firstPublished", SysTime(DateTime.fromSimpleString("0001-Jan-01 00:00:00")));