mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2615 oc.com - SEO - Multiple title tags
This commit is contained in:
parent
2a32eec777
commit
28eea42c65
@ -12,15 +12,13 @@
|
||||
{% set additionalMeta = template.get('additional_meta') %}
|
||||
{{ additionalMeta ? additionalMeta|raw }}
|
||||
|
||||
{% if not hideTitle %}
|
||||
<title>
|
||||
{% set title = trans(template.meta_title) %}
|
||||
{% set showTitle = template.showTitle is same as(false) ? false : true %}
|
||||
{% if showTitle %}
|
||||
{% set title = setting_value('streams::name', config_get('streams::distribution.name'))~" | "~trans(template.meta_title) %}
|
||||
{% endif %}
|
||||
{{ title|slice(0,60) }}
|
||||
</title>
|
||||
{% endif %}
|
||||
<title>
|
||||
{% set title = trans(template.meta_title) %}
|
||||
{% set showTitle = template.showTitle is same as(false) ? false : true %}
|
||||
{% if showTitle %}
|
||||
{% set title = setting_value('streams::name', config_get('streams::distribution.name'))~" | "~trans(template.meta_title) %}
|
||||
{% endif %}
|
||||
{{ title|slice(0,60) }}
|
||||
</title>
|
||||
|
||||
{% include "visiosoft.theme.base::partials/ogdata" %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user