mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Make OpenGraph configurable, and fix canonical URL to include mid
This commit is contained in:
parent
da1b69c6b7
commit
f25e685209
10 changed files with 83 additions and 8 deletions
|
|
@ -338,6 +338,12 @@ class boardView extends board
|
|||
// setup the document oject on context
|
||||
$oDocument->add('module_srl', $this->module_srl);
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
// set canonical URL
|
||||
if ($oDocument->document_srl)
|
||||
{
|
||||
Context::setCanonicalURL($oDocument->getPermanentUrl());
|
||||
}
|
||||
|
||||
/**
|
||||
* add javascript filters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue