Migrating from GrafoscopioUtils.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-07-25 18:30:24 -05:00
parent c453132530
commit 2989ba0986
1 changed files with 13 additions and 0 deletions

View File

@ -113,6 +113,19 @@ LePage >> metadata [
^ self options at: 'metadata' ifAbsentPut: [ self metadataInit]
]
{ #category : #'*MiniDocs' }
LePage >> metadataInit [
^ OrderedDictionary new
at: 'id' put: self uidString;
at: 'title' put: self contentAsString;
at: 'created' put: self createTime greaseString;
at: 'modified' put: self latestEditTime greaseString;
at: 'creator' put: self createEmail greaseString;
at: 'modifier' put: self editEmail greaseString;
yourself
]
{ #category : #'*MiniDocs' }
LePage >> options [
^ options