mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2383 social share home image settings added
This commit is contained in:
parent
6db834b9a1
commit
8551130c0f
@ -4,7 +4,7 @@
|
||||
<meta property="og:description" content="{{ (template.get('meta_description') ?: setting_value('streams::description'))|slice(0,160) }}"/>
|
||||
<meta property="og:title" content="{{ (setting_value('streams::name', config_get('streams::distribution.name'))~" | "~trans(template.meta_title))|slice(0,60) }}"/>
|
||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||
<meta property="og:image" content="{{ template.get('og_image', trans(template.meta_image)) }}"/>
|
||||
<meta property="og:image" content="{{ template.get('og_image', file(setting_value('visiosoft.module.advs::ogImage')).url) }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
|
||||
<!-- Meta for twitter sharing -->
|
||||
@ -12,5 +12,5 @@
|
||||
<meta name="twitter:site" content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}">
|
||||
<meta name="twitter:title" content="{{ (setting_value('streams::name', config_get('streams::distribution.name'))~" | "~trans(template.meta_title))|slice(0,60) }}">
|
||||
<meta name="twitter:description" content="{{ (template.get('meta_description') ?: setting_value('streams::description'))|slice(0,160) }}">
|
||||
<meta name="twitter:image" content="{{ template.get('og_image', trans(template.meta_image)) }}">
|
||||
<meta name="twitter:image" content="{{ template.get('og_image', file(setting_value('visiosoft.module.advs::ogImage')).url) }}">
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue
Block a user