Make metadata more consistent

This commit is contained in:
Chris Josten 2020-06-27 16:54:06 +02:00
parent 561bcdc366
commit 8d2feaa76b
6 changed files with 51 additions and 12 deletions

View file

@ -62,4 +62,5 @@ class Article : Page {
@property string author() { return m_author; }
@property DateTime firstPublished() { return m_firstPublished; }
@property DateTime updated() { return m_updated; }
@property bool isModified() { return m_firstPublished != m_updated; }
}

View file

@ -3,5 +3,6 @@
*/
class Constants {
public static immutable string SITE_NAME = "Chris Netsoj.nl";
public static immutable string SITE_URL = "https://chris.netsoj.nl";
public static immutable string COPYRIGHT = "© Chris Josten, 2020";
}