Fixing empty metadata fields.
This commit is contained in:
parent
a5e2db3869
commit
326a28fce3
@ -10,8 +10,8 @@ LePage >> asMarkdeep [
|
||||
markdeep := Markdeep new
|
||||
title: self title;
|
||||
body: bodyStream contents.
|
||||
markdeep metadata at: 'authors' put: (self metadata at: 'authors').
|
||||
markdeep metadata at: 'version' put: (self metadata at: 'version').
|
||||
markdeep metadata at: 'authors' put: (self metadata at: 'authors' ifAbsentPut: [ '']).
|
||||
markdeep metadata at: 'version' put: (self metadata at: 'version' ifAbsentPut: [ '']).
|
||||
self metadata keysAndValuesDo: [:k :v |
|
||||
markdeep header
|
||||
add: '<meta name="', k, '" content="', v,'">';
|
||||
|
Loading…
Reference in New Issue
Block a user