This repository has been archived on 2021-09-20. You can view files and clone it, but cannot push or open issues/pull-requests.
the-flux-of-thought/_includes/head.html

27 lines
1.0 KiB
HTML

{% comment %}<!--SEO metas -->{% endcomment %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% if page.title %}
<title>{{ page.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
{% capture meta_description %}
{% if page.description %}
{{ page.description | truncate: site.meta.description_words }}
{% else if page.excerpt %}
{{ page.excerpt | strip_html | strip_newlines | truncate: site.meta.excerpt_words }}
{% else %}
{{ site.description | truncate: site.meta.description_words }}
{% endif %}
{% endcapture %}
<meta name="description" content="{{ meta_description }}">
<link rel="icon" href="{{ site.baseurl }}/assets/favicon.png">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/core.css">
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/feed.xml" />
<link rel="canonical" href="{{ page.url | prepend: site.baseurl | prepend: site.url }}">