mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
feature 2368 : added link rel canonical on picture page
git-svn-id: http://piwigo.org/svn/trunk@13048 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -947,6 +947,7 @@ if (isset($picture['next'])
|
||||
$template->assign('U_PREFETCH', $picture['next']['derivatives'][pwg_get_session_var('picture_deriv', IMG_LARGE)]->get_url() );
|
||||
}
|
||||
|
||||
$template->assign('U_CANONICAL', make_picture_url( array('image_id'=>$picture['current']['id'], 'image_file'=>$picture['current']['file']) ) );
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | sub pages |
|
||||
|
||||
Reference in New Issue
Block a user