Fix regression introduced to fix #55

This commit is contained in:
Stéphane Goetz 2018-06-06 23:37:26 +02:00
parent 47a9565b23
commit 6a7dae3023
3 changed files with 4 additions and 4 deletions

View File

@ -8,6 +8,8 @@
"image": "", "image": "",
"languages": {}, "languages": {},
"cache": true,
"format": "html", "format": "html",
"processor": "", "processor": "",

View File

@ -127,7 +127,7 @@ class Config extends BaseConfig
return $this['cache']; return $this['cache'];
} }
return true; return false;
} }
public function getCacheKey() public function getCacheKey()

View File

@ -121,10 +121,8 @@ class Content extends ContentAbstract
$document = $this->getFrontMatter(); $document = $this->getFrontMatter();
$this->attributes = array_replace_recursive($this->attributes, $document->getData()); $this->attributes = array_replace_recursive($this->attributes, $document->getData());
if (!$this->manuallySetContent) {
$this->content = $document->getContent(); $this->content = $document->getContent();
} }
}
public function setAttributes(array $attributes) public function setAttributes(array $attributes)
{ {