-
Notifications
You must be signed in to change notification settings - Fork 62
/
main.html
38 lines (35 loc) · 1.99 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "base.html" %}
{% block extrahead %}
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png">
<!--link rel="manifest" href="/images/favicon/manifest.json"-->
<!--link rel="mask-icon" href="/images/favicon/safari-pinned-tab.svg" color="#5bbad5"-->
<link rel="shortcut icon" href="/images/favicon/favicon.ico">
<meta name="msapplication-config" content="/images/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
{% if page and page.meta and page.meta.title %}
<meta property="og:title" content="{{ page.meta.title }}">
<!-- og:xyz property information https://developers.facebook.com/docs/sharing/webmasters#images -->
{% elif page and page.title and not page.is_homepage %}
<meta property="og:title" content="{{ page.title }} - {{ config.site_name }}">
{% else %}
<meta property="og:title" content="{{ config.site_name }}">{% endif %}
{% if page and page.meta and page.meta.description %}
<meta property="og:description" content="{{ page.meta.description }}">{% endif %}
{% if page and page.meta and page.meta.image_path %}
{% if page.meta.image_path %}
<meta property="og:image" content="{{ config.site_url }}{{ page.meta.image_path }}">{% endif %}
{% if page.meta.image_alt %}
<meta property="og:image:alt" content="{{ page.meta.image_alt }}">{% endif %}
{% if page.meta.image_type %}
<meta property="og:image:type" content="{{ page.meta.image_type }}">{% endif %}
{% if page.meta.image_width %}
<meta property="og:image:width" content="{{ page.meta.image_width }}">{% endif %}
{% if page.meta.image_height %}
<meta property="og:image:height" content="{{ page.meta.image_height }}">{% endif %}
{% endif %}
{% endblock %}
{% block scripts %}
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/23533063.js"></script>
{% endblock %}