mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #633 from openclassify/dia
#1929 Site meta description doesn't seen for home
This commit is contained in:
commit
385262f513
@ -4,7 +4,8 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="generator" content="{{ config_get('streams::distribution.name') }}"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="description" content="{{ template.get('meta_description', setting_value('streams::description'))|slice(0,160) }}"/>
|
||||
<meta name="description"
|
||||
content="{{ (template.get('meta_description') ?: setting_value('streams::description'))|slice(0,160) }}"/>
|
||||
<meta name="keywords" content="{{ template.get('meta_keywords') }}" />
|
||||
<!-- Meta Tags -->
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<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))|slice(0,160) }}"/>
|
||||
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title))|slice(0,60) }}"/>
|
||||
<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:type" content="website"/>
|
||||
@ -10,7 +10,7 @@
|
||||
<!-- Meta for twitter sharing -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}">
|
||||
<meta name="twitter:title" content="{{ template.get('og_title', trans(template.meta_title))|slice(0,60) }}">
|
||||
<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('og_description', trans(template.meta_description))|slice(0,160) }}">
|
||||
<meta name="twitter:image" content="{{ template.get('og_image', trans(template.meta_image)) }}">
|
||||
{% endblock %}
|
||||
@ -16,7 +16,6 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow-y: auto;
|
||||
z-index: 1040;
|
||||
-webkit-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
@ -39,6 +38,7 @@
|
||||
transform: translateX(0%);
|
||||
-webkit-transition: 300ms ease;
|
||||
transition: 300ms ease;
|
||||
z-index: 1040;
|
||||
}
|
||||
|
||||
a {
|
||||
@ -85,5 +85,5 @@
|
||||
cursor: pointer;
|
||||
background: #000;
|
||||
opacity: .2;
|
||||
z-index: 1;
|
||||
z-index: 999;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user