mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-21 17:26: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 %}
|
||||
@ -76,7 +76,7 @@
|
||||
|
||||
<!-- Google Search Console verification -->
|
||||
<meta name="google-site-verification" content="W78RKvWHp0dn7gE6CDevllN3Vq6yawxMUWAKDhRPIY0" />
|
||||
|
||||
|
||||
<!-- YouTube verification -->
|
||||
<meta name="google-site-verification" content="K8OUAnTc9f8Lp3KWGB_qdyIk0LiqShVWp51Jj73Zlzw" />
|
||||
|
||||
|
@ -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