Add event when caching markdown content too

This commit is contained in:
Andy Miller
2015-01-20 18:08:14 -07:00
parent af97876794
commit 0ddd2941e9

View File

@@ -360,6 +360,7 @@ class Page
// Do we want to cache markdown, but process twig in each page?
if ($update_cache && $process_twig) {
self::$grav->fireEvent('onPageContentProcessed', new Event(['page' => $this]));
$cache->save($cache_id, $this->content);
$update_cache = false;
}