mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
ogdata and message include base theme
This commit is contained in:
parent
ecc945864f
commit
aca4459164
@ -12,15 +12,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="description" content="{{ trans(template.meta_description) }}"/>
|
||||
|
||||
{% block ogdata %}
|
||||
<meta property="og:site_name"
|
||||
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
||||
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
|
||||
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title)) }}"/>
|
||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||
<meta property="og:image" content="{{ template.get('og_image') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
{% endblock %}
|
||||
{% include "visiosoft.theme.base::partials/ogdata" %}
|
||||
|
||||
<title>
|
||||
{{ setting_value('streams::name', config_get('streams::distribution.name')) }}
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
{% block ogdata %}
|
||||
<meta property="og:site_name"
|
||||
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
|
||||
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
|
||||
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title)) }}"/>
|
||||
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
|
||||
<meta property="og:image" content="{{ template.get('og_image') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue
Block a user