i cant fucking read
This commit is contained in:
parent
24954749f5
commit
e5acce3e49
|
@ -3,27 +3,27 @@
|
||||||
<title> {% if page.title %} {{ page.title }} | {% endif %} Andrew Cassidy</title>
|
<title> {% if page.title %} {{ page.title }} | {% endif %} Andrew Cassidy</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<meta name="og:title"
|
<meta property="og:title"
|
||||||
content="{% if page.title %} {{ page.title }} {% else %} Andrew Cassidy's Website {% endif %}">
|
content="{% if page.title %} {{ page.title }} {% else %} Andrew Cassidy's Website {% endif %}"/>
|
||||||
<meta name="og:url" content="{{site.url}}{{page.url}}">
|
<meta property="og:url" content="{{site.url}}{{page.url}}"/>
|
||||||
|
|
||||||
{% if page.collection == "posts" %}
|
{% if page.collection == "posts" %}
|
||||||
<meta name="og:type"
|
<meta property="og:type"
|
||||||
content="article">
|
content="article"/>
|
||||||
<meta name="og:article:published_time"
|
<meta property="og:article:published_time"
|
||||||
content="{{ page.date | date_to_xmlschema }}">
|
content="{{ page.date | date_to_xmlschema }}"/>
|
||||||
<meta name="og:article:section"
|
<meta property="og:article:section"
|
||||||
content="Blog">
|
content="Blog"/>
|
||||||
{% for tag in page.tags %}
|
{% for tag in page.tags %}
|
||||||
<meta name="og:article:tag" content="{{ tag }}">
|
<meta property="og:article:tag" content="{{ tag }}"/>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if page.image %}
|
{% if page.image %}
|
||||||
<meta name="og:image"
|
<meta property="og:image"
|
||||||
content="{{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}}">
|
content="{{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="og:type"
|
<meta property="og:type"
|
||||||
content="website">
|
content="website"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!--{{page.collection}}-->
|
<!--{{page.collection}}-->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user