You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
blog/_includes/head.html

26 lines
1.0 KiB

{% 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 }}">