mirror of
https://github.com/jlengrand/jlengrand.github.io.git
synced 2026-03-10 00:21:19 +00:00
Some opengraph changes
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<meta name="description" content="{{ page.description }}">
|
||||
<meta name="keywords" content="{{ page.tags | join: ', ' }}">
|
||||
{% if site.owner.twitter %}<!-- Twitter Cards -->
|
||||
{% if page.image.feature %}<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}">
|
||||
{% if page.image.feature %}<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:image" content="{{ site.url }}/images/{{ site.owner.avatar }}">
|
||||
{% else %}<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}">{% endif %}
|
||||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
|
||||
@@ -18,6 +18,7 @@
|
||||
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
|
||||
<meta property="og:site_name" content="{{ site.title }}">
|
||||
<meta name="og:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}">{% endif %}
|
||||
|
||||
{% if site.google_verify %}<!-- Webmaster Tools verfication -->
|
||||
<meta name="google-site-verification" content="{{ site.google_verify }}">{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user