Created
August 18, 2017 12:37
-
-
Save OlegShchavelev/42122e234c3bf8e90da9e02b00884cc6 to your computer and use it in GitHub Desktop.
MODX SEO-теги v2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $_modx->resource.seotitle == ''} | |
<title>{$_modx->resource.pagetitle}{if $_modx->config.name_title == 1}{$_modx->config.separator_title}{$_modx->config.site_name}{/if}</title> | |
{else} | |
<title>{$_modx->resource.seotitle}{if $_modx->config.name_title == 1}{$_modx->config.separator_title}{$_modx->config.site_name}{/if} | |
</title> | |
{/if} | |
</title> | |
{if $_modx->resource.seokeywords != ''}<meta name="keywords" content="{$_modx->resource.seokeywords}">`{/if} | |
{if $_modx->resource.seodescription != ''}<meta name="description" content="{$_modx->resource.seodescription}">{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment