X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f2df190a6c4a0128eb351bc398cffd0edf8d6096..e6c3f4fe5f308ca6ff56bb9c4fb28df0411fb0d3:/article.inc.php?ds=inline diff --git a/article.inc.php b/article.inc.php index dbc545f..93bbe3b 100644 --- a/article.inc.php +++ b/article.inc.php @@ -16,8 +16,8 @@ function showdate($parts) class ArchiveArticle { - public $raw, $preface, $title, $body; - public $meta = []; + public $raw, $title, $body; # file contents + public $meta = []; # head metadata properties function __construct($path) { @@ -41,8 +41,11 @@ class ArchiveArticle $this->meta = array_combine($meta[1], $meta[2]); # [property => content] } - @list ($this->preface, $this->title, $this->body) = - preg_split('{