Merge branch 'develop' of https://github.com/getgrav/grav into 1.6

This commit is contained in:
Matias Griese
2018-10-01 21:07:28 +03:00

View File

@@ -137,7 +137,7 @@ class Page implements PageInterface
$this->metadata();
$this->url();
$this->visible();
$this->modularTwig($this->slug[0] === '_');
$this->modularTwig(strpos($this->slug(), '_') === 0);
$this->setPublishState();
$this->published();
$this->urlExtension();