Fix regression introduced to fix #55
This commit is contained in:
parent
47a9565b23
commit
6a7dae3023
@ -8,6 +8,8 @@
|
|||||||
"image": "",
|
"image": "",
|
||||||
"languages": {},
|
"languages": {},
|
||||||
|
|
||||||
|
"cache": true,
|
||||||
|
|
||||||
"format": "html",
|
"format": "html",
|
||||||
"processor": "",
|
"processor": "",
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ class Config extends BaseConfig
|
|||||||
return $this['cache'];
|
return $this['cache'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCacheKey()
|
public function getCacheKey()
|
||||||
|
@ -121,9 +121,7 @@ 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user