bulma/docs/_includes/head.html

82 lines
4.2 KiB
HTML
Raw Normal View History

<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 %}">
2018-03-26 13:46:39 +00:00
<title>{% if page.fulltitle %}{{ page.fulltitle }}{% else %}{% if page.title %}{{ page.title }} | {% endif %}{{ site.data.meta.title }}{% endif %}</title>
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.iconic %}
2018-01-10 16:30:23 +00:00
<link rel="stylesheet" href="{{ site.data.icons.iconic }}">
2017-09-10 15:32:55 +00:00
{% endif %}
{% 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 %}
2017-11-06 13:03:26 +00:00
<link rel="stylesheet" href="{{ site.url }}/css/bulma-docs.css?v={{ site.time | date: "%Y%m%d%H%M" }}">
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 }}">
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 %}
<meta property="og:title" content="{{ page.title | replace: '&nbsp;', ' ' }}">
<meta name="twitter:title" content="{{ page.title | replace: '&nbsp;', ' ' }}">
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-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">
2018-01-10 16:30:23 +00:00
<script defer src="{{ site.data.icons.fontawesome5 }}"></script>
</head>