From 1393f9a5705e294a00b665990c2ae901319b2321 Mon Sep 17 00:00:00 2001 From: Yura Finiv Date: Wed, 8 May 2019 13:51:46 +0300 Subject: [PATCH] add pagetitle for MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I couldn't get a оptional title forimage:title https://support.google.com/webmasters/answer/178636?hl=en --- core/components/stercseo/model/stercseo/stercseo.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/components/stercseo/model/stercseo/stercseo.class.php b/core/components/stercseo/model/stercseo/stercseo.class.php index e4a15fb..701e979 100644 --- a/core/components/stercseo/model/stercseo/stercseo.class.php +++ b/core/components/stercseo/model/stercseo/stercseo.class.php @@ -626,6 +626,7 @@ public function sitemapImages($contextKey, $resources, $options) $output .= $this->getChunk($options['imagesRowTpl'], array( 'url' => $this->modx->makeUrl($resource->get('id'), '', '', 'full'), + 'pagetitle' => $resource->get('pagetitle'), 'images' => $imagesOutput )); }