remove irrlevant oh meta tag.
This commit is contained in:
parent
695b83cea9
commit
345ea0e446
@ -1,26 +1,25 @@
|
|||||||
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
|
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
|
||||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
|
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
|
||||||
|
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt %}
|
||||||
<meta property="og:description" content="{{ page.excerpt| strip_html }}" />
|
<meta property="og:description" content="{{ page.excerpt| strip_html }}" />
|
||||||
{% elsif page.description %}
|
{% elsif page.description %}
|
||||||
<meta property="og:description" content="{{ page.description }}" />
|
<meta property="og:description" content="{{ page.description }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:description" content="{{ site.description }}" />
|
<meta property="og:description" content="{{ site.description }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta name="author" content="{{ site.name }}" />
|
<meta name="author" content="{{ site.name }}" />
|
||||||
|
|
||||||
{% if page.title %}
|
{% if page.title %}
|
||||||
<meta property="og:title" content="{{ page.title }}" />
|
<meta property="og:title" content="{{ page.title }}" />
|
||||||
<meta property="twitter:title" content="{{ page.title }}" />
|
<meta property="twitter:title" content="{{ page.title }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.image %}
|
{% if page.image %}
|
||||||
<meta property="og:image" content="{{ site.url }}{{ page.image }}"/>
|
<meta property="og:image" content="{{ site.url }}{{ page.image }}"/>
|
||||||
<meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/>
|
<meta property="twitter:image" content="{{ site.url }}{{ page.image }}"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/>
|
<meta property="og:image" content="{{ site.url }}{{ site.avatar }}"/>
|
||||||
<meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/>
|
<meta property="twitter:image" content="{{ site.url }}{{ site.avatar }}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:site_name" content="Amit Merchant - Software Engineer"/>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user