mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-04 19:12:12 +09:00
Fix #1288 support meta keywords and description per domain
This commit is contained in:
parent
94ae4ccebe
commit
12f603feee
3 changed files with 29 additions and 1 deletions
|
|
@ -300,7 +300,11 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
Context::addMetaTag('keywords', $module_info->meta_keywords);
|
||||
}
|
||||
elseif($module_config->meta_keywords)
|
||||
elseif ($site_module_info->settings->meta_keywords)
|
||||
{
|
||||
Context::addMetaTag('keywords', $site_module_info->settings->meta_keywords);
|
||||
}
|
||||
elseif ($module_config->meta_keywords)
|
||||
{
|
||||
Context::addMetaTag('keywords', $module_config->meta_keywords);
|
||||
}
|
||||
|
|
@ -309,6 +313,10 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
Context::addMetaTag('description', $module_info->meta_description);
|
||||
}
|
||||
elseif ($site_module_info->settings->meta_description)
|
||||
{
|
||||
Context::addMetaTag('description', $site_module_info->settings->meta_description);
|
||||
}
|
||||
elseif($module_config->meta_description)
|
||||
{
|
||||
Context::addMetaTag('description', $module_config->meta_description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue