mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
use intro text for meta description on front page
This commit is contained in:
parent
d0213fec0f
commit
15bccef03d
@ -16,7 +16,7 @@
|
||||
{% if page.description %}
|
||||
<meta name="description" content="{{ page.description }}">
|
||||
{% elsif page.front_page %}
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<meta name="description" content="{{ page.intro.description }}">
|
||||
{% else %}
|
||||
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
|
||||
{% endif %}
|
||||
|
@ -12,7 +12,7 @@
|
||||
{% if page.description %}
|
||||
<meta content="{{ page.description }}" property="og:description">
|
||||
{% elsif page.front_page %}
|
||||
<meta content="{{ site.description }}" property="og:description">
|
||||
<meta content="{{ page.intro.description }}" property="og:description">
|
||||
{% else %}
|
||||
<meta content="{{ page.excerpt | strip_html | strip_newlines }}" property="og:description">
|
||||
{% endif %}
|
||||
|
@ -17,7 +17,7 @@
|
||||
{% if page.description %}
|
||||
<meta name="twitter:description" content="{{ page.description }}">
|
||||
{% elsif page.front_page %}
|
||||
<meta name="twitter:description" content="{{ site.description }}">
|
||||
<meta name="twitter:description" content="{{ page.intro.description }}">
|
||||
{% else %}
|
||||
<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user