2016-09-11 11:00:49 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-03-26 13:46:39 +00:00
|
|
|
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.data.meta.description }}{% endif %}">
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2021-01-27 23:30:42 +00:00
|
|
|
<title>{% if page.fulltitle %}{{ page.fulltitle | markdownify | strip_html }}{% else %}{% if page.title %}{{ page.title | markdownify | strip_html }} | {% endif %}{{ site.data.meta.title | markdownify | strip_html }}{% endif %}</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ site.url }}/vendor/fontawesome-free-5.15.2-web/css/all.min.css">
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-01-10 16:30:23 +00:00
|
|
|
{% if page.fontawesome4 %}
|
|
|
|
<link rel="stylesheet" href="{{ site.data.icons.fontawesome4 }}">
|
|
|
|
{% endif %}
|
2017-09-10 15:32:55 +00:00
|
|
|
{% if page.ionicons %}
|
2018-01-10 16:30:23 +00:00
|
|
|
<link rel="stylesheet" href="{{ site.data.icons.ionicons }}">
|
2017-09-10 15:32:55 +00:00
|
|
|
{% endif %}
|
2017-09-09 16:32:12 +00:00
|
|
|
{% if page.mdi %}
|
2018-01-10 16:30:23 +00:00
|
|
|
<link rel="stylesheet" href="{{ site.data.icons.mdi }}">
|
2017-09-09 16:32:12 +00:00
|
|
|
{% endif %}
|
2021-01-27 23:30:42 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css">
|
2018-04-08 11:20:07 +00:00
|
|
|
<link rel="stylesheet" href="{{ site.url }}/css/{{ site.docs_file }}.css?v={{ site.time | date: "%Y%m%d%H%M" }}">
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2016-10-16 18:15:56 +00:00
|
|
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
|
2018-03-26 13:46:39 +00:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="{{ site.data.meta.title }}" href="{{ "/atom.xml" | prepend: site.url }}">
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-01-16 11:55:12 +00:00
|
|
|
<meta property="og:url" content="{{ site.url }}">
|
2016-09-24 16:18:56 +00:00
|
|
|
<meta property="og:type" content="website">
|
|
|
|
<meta property="og:image:type" content="image/png">
|
|
|
|
<meta property="og:image:width" content="1200">
|
|
|
|
<meta property="og:image:height" content="630">
|
|
|
|
|
2016-10-16 19:20:28 +00:00
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
2016-09-24 16:18:56 +00:00
|
|
|
<meta name="twitter:site" content="@jgthms">
|
|
|
|
<meta name="twitter:creator" content="@jgthms">
|
2018-01-16 11:55:12 +00:00
|
|
|
|
|
|
|
<!-- Shared social media -->
|
|
|
|
{% if page.share_title %}
|
|
|
|
<meta property="og:title" content="{{ page.share_title }}">
|
|
|
|
<meta name="twitter:title" content="{{ page.share_title }}">
|
2018-01-18 17:48:45 +00:00
|
|
|
{% elsif page.title %}
|
2020-01-20 07:49:27 +00:00
|
|
|
<meta property="og:title" content="{{ page.title | replace: ' ', ' ' | strip_html }}">
|
|
|
|
<meta name="twitter:title" content="{{ page.title | replace: ' ', ' ' | strip_html }}">
|
2018-01-16 11:55:12 +00:00
|
|
|
{% else %}
|
2018-03-26 13:46:39 +00:00
|
|
|
<meta property="og:title" content="{{ site.data.meta.title }}">
|
|
|
|
<meta name="twitter:title" content="{{ site.data.meta.title }}">
|
2018-01-16 11:55:12 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.share_description %}
|
|
|
|
<meta property="og:description" content="{{ page.share_description }}">
|
|
|
|
<meta name="twitter:description" content="{{ page.share_description }}">
|
2018-01-18 17:45:54 +00:00
|
|
|
{% elsif page.layout == 'post' %}
|
|
|
|
<meta property="og:description" content="{{ page.content | strip_html | truncate: 400, '…' }}">
|
|
|
|
<meta name="twitter:description" content="{{ page.content | strip_html | truncate: 400, '…' }}">
|
2018-07-18 11:59:32 +00:00
|
|
|
{% elsif page.doc-tab %}
|
|
|
|
{% assign link = site.data.links.by_id[page.doc-tab] %}
|
|
|
|
{% if link.subtitle %}
|
|
|
|
<meta property="og:description" content="{{ link.subtitle | strip_html }}">
|
|
|
|
<meta name="twitter:description" content="{{ link.subtitle | strip_html }}">
|
|
|
|
{% else %}
|
|
|
|
<meta property="og:description" content="{{ site.data.meta.description }}">
|
|
|
|
<meta name="twitter:description" content="{{ site.data.meta.description }}">
|
|
|
|
{% endif %}
|
2018-01-16 11:55:12 +00:00
|
|
|
{% else %}
|
2018-03-26 13:46:39 +00:00
|
|
|
<meta property="og:description" content="{{ site.data.meta.description }}">
|
|
|
|
<meta name="twitter:description" content="{{ site.data.meta.description }}">
|
2018-01-16 11:55:12 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.share_image %}
|
|
|
|
<meta property="og:image" content="{{ site.url }}{{ page.share_image }}">
|
|
|
|
<meta name="twitter:image" content="{{ site.url }}{{ page.share_image }}">
|
2018-01-18 17:45:54 +00:00
|
|
|
{% elsif page.layout == 'post' %}
|
2018-01-18 17:47:13 +00:00
|
|
|
<meta property="og:image" content="{{ site.url }}/images/blog/share/{{ page.id | slice: 12,page.id.size }}.jpg">
|
|
|
|
<meta name="twitter:image" content="{{ site.url }}/images/blog/share/{{ page.id | slice: 12,page.id.size }}.jpg">
|
2018-01-16 11:55:12 +00:00
|
|
|
{% else %}
|
|
|
|
<meta property="og:image" content="{{ site.url }}/images/bulma-banner.png">
|
|
|
|
<meta name="twitter:image" content="{{ site.url }}/images/bulma-banner.png">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.url }}/favicons/apple-touch-icon.png?v=201701041855">
|
|
|
|
<link rel="icon" type="image/png" href="{{ site.url }}/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
|
|
|
<link rel="icon" type="image/png" href="{{ site.url }}/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
|
|
|
<link rel="manifest" href="{{ site.url }}/favicons/manifest.json?v=201701041855">
|
|
|
|
<link rel="mask-icon" href="{{ site.url }}/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
|
|
|
<link rel="shortcut icon" href="{{ site.url }}/favicons/favicon.ico?v=201701041855">
|
|
|
|
<meta name="msapplication-config" content="{{ site.url }}/favicons/browserconfig.xml?v=201701041855">
|
2016-09-25 16:44:01 +00:00
|
|
|
<meta name="theme-color" content="#00d1b2">
|
2016-09-11 11:00:49 +00:00
|
|
|
</head>
|