Skip to content
Snippets Groups Projects
Commit bd160ab2 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Use the extension arguments for canonical and hreflang

parent 63cc2050
No related branches found
No related tags found
No related merge requests found
......@@ -180,6 +180,7 @@ class JoblistController extends ActionController {
if ($job) {
$GLOBALS['TSFE']->page['titlebyextension'] = $job->getTitle();
$GLOBALS['TSFE']->page['description'] = substr($job->getDescription(), 0, 200);
$GLOBALS['TSFE']->page['extensionArgumentsForCanonicalAndHrefLang'] = '&tx_sgjobs_jobapplication[jobId]=' . $job->getUid();
}
$this->view->assign('job', $job);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment