beautiful-jekyll-theme 1.1.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/404.html +13 -0
- data/{LICENSE.txt → LICENSE} +6 -6
- data/README.md +185 -210
- data/_data/ui-text.yml +494 -0
- data/_includes/comments.html +6 -0
- data/_includes/disqus.html +18 -16
- data/_includes/ext-css.html +7 -0
- data/_includes/ext-js.html +7 -0
- data/_includes/fb-comment.html +16 -0
- data/_includes/footer-minimal.html +13 -14
- data/_includes/footer-scripts.html +16 -18
- data/_includes/footer.html +30 -170
- data/_includes/google_analytics.html +13 -11
- data/_includes/gtag.html +10 -0
- data/_includes/gtm_body.html +5 -0
- data/_includes/gtm_head.html +11 -0
- data/_includes/head.html +77 -45
- data/_includes/header.html +47 -39
- data/_includes/matomo.html +17 -0
- data/_includes/nav.html +38 -51
- data/_includes/readtime.html +16 -0
- data/_includes/social-networks-links.html +267 -0
- data/_includes/social-share.html +32 -24
- data/_includes/staticman-comment.html +22 -0
- data/_includes/staticman-comments.html +83 -0
- data/_includes/utterances-comment.html +13 -0
- data/_layouts/base.html +16 -9
- data/_layouts/default.html +2 -2
- data/_layouts/home.html +88 -0
- data/_layouts/minimal.html +14 -8
- data/_layouts/page.html +3 -7
- data/_layouts/post.html +40 -16
- data/assets/css/main-minimal.css +2 -2
- data/assets/css/main.css +531 -250
- data/assets/css/pygment_highlights.css +0 -5
- data/assets/css/staticman.css +180 -0
- data/assets/img/404-southpark.jpg +0 -0
- data/assets/img/avatar-icon.png +0 -0
- data/assets/img/bgimage.png +0 -0
- data/assets/img/hello_world.jpeg +0 -0
- data/assets/img/install-steps.gif +0 -0
- data/assets/img/path.jpg +0 -0
- data/assets/img/thumb.png +0 -0
- data/assets/js/main.js +64 -103
- data/assets/js/staticman.js +54 -0
- data/{assets/feed.xml → feed.xml} +8 -4
- data/tags.html +36 -0
- metadata +57 -28
- data/_includes/navbarlink.html +0 -16
- data/_layouts/tag_index.html +0 -41
- data/assets/css/bootstrap-theme.css +0 -476
- data/assets/css/bootstrap-theme.css.map +0 -1
- data/assets/css/bootstrap-theme.min.css +0 -5
- data/assets/css/bootstrap.css +0 -6566
- data/assets/css/bootstrap.css.map +0 -1
- data/assets/css/bootstrap.min.css +0 -5
- data/assets/css/normalize.css +0 -427
- data/assets/js/bootstrap.js +0 -2306
- data/assets/js/bootstrap.min.js +0 -7
- data/assets/js/jquery-1.11.2.min.js +0 -4
data/_includes/disqus.html
CHANGED
@@ -1,17 +1,19 @@
|
|
1
|
-
{
|
2
|
-
<div class="comments">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
{%- if site.disqus -%}
|
2
|
+
<div class="disqus-comments">
|
3
|
+
<div class="comments">
|
4
|
+
<div id="disqus_thread"></div>
|
5
|
+
<script type="text/javascript">
|
6
|
+
var disqus_shortname = '{{ site.disqus }}';
|
7
|
+
/* ensure that pages with query string get the same discussion */
|
8
|
+
var url_parts = window.location.href.split("?");
|
9
|
+
var disqus_url = url_parts[0];
|
10
|
+
(function() {
|
11
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
12
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
13
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
14
|
+
})();
|
15
|
+
</script>
|
16
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
17
|
+
</div>
|
16
18
|
</div>
|
17
|
-
{
|
19
|
+
{%- endif -%}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{% if include.css.sri %}
|
2
|
+
<link href="{{ include.css.href }}" rel="stylesheet" integrity="{{ include.css.sri }}" crossorigin="anonymous">
|
3
|
+
{% elsif include.css.href %}
|
4
|
+
<link rel="stylesheet" href="{{ include.css.href }}">
|
5
|
+
{% else %}
|
6
|
+
<link rel="stylesheet" href="{{ include.css }}">
|
7
|
+
{% endif %}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{% if include.js.sri %}
|
2
|
+
<script src="{{ include.js.href }}" integrity="{{ include.js.sri }}" crossorigin="anonymous"></script>
|
3
|
+
{% elsif include.js.href %}
|
4
|
+
<script src="{{ include.js.href }}"></script>
|
5
|
+
{% else %}
|
6
|
+
<script src="{{ include.js }}"></script>
|
7
|
+
{% endif %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{%- if site.fb_comment_id -%}
|
2
|
+
<div class="comments">
|
3
|
+
<div id="fb-root"></div>
|
4
|
+
<script>
|
5
|
+
(function(d, s, id) {
|
6
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
7
|
+
if (d.getElementById(id)) return;
|
8
|
+
js = d.createElement(s); js.id = id;
|
9
|
+
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12&appId={{ site.fb_comment_id }}&autoLogAppEvents=1';
|
10
|
+
fjs.parentNode.insertBefore(js, fjs);
|
11
|
+
}(document, 'script', 'facebook-jssdk'));
|
12
|
+
</script>
|
13
|
+
<div class="fb-comments" data-href="{{ page.url | absolute_url }}" data-width="100%" data-numposts="5"></div>
|
14
|
+
<noscript>Please enable JavaScript to view the comments powered by Facebook.</noscript>
|
15
|
+
</div>
|
16
|
+
{%- endif -%}
|
@@ -1,19 +1,18 @@
|
|
1
1
|
<footer class="footer-min">
|
2
2
|
<div class="text-muted">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
{% if site.url-pretty %}
|
13
|
-
<a href="{{ site.url }}">{{ site.url-pretty }}</a>
|
14
|
-
•
|
15
|
-
{% endif %}
|
3
|
+
{% if site.author %}
|
4
|
+
{{ site.author }}
|
5
|
+
•
|
6
|
+
{% endif %}
|
7
|
+
{% if page.date %}
|
8
|
+
{{ page.date }}
|
9
|
+
{% else %}
|
10
|
+
{{ site.time | date: '%Y' }}
|
11
|
+
{% endif %}
|
16
12
|
|
17
|
-
|
13
|
+
{% if site.url-pretty %}
|
14
|
+
•
|
15
|
+
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
|
16
|
+
{% endif %}
|
18
17
|
</div>
|
19
18
|
</footer>
|
@@ -1,18 +1,6 @@
|
|
1
1
|
{% if layout.common-ext-js %}
|
2
2
|
{% for js in layout.common-ext-js %}
|
3
|
-
|
4
|
-
{% endfor %}
|
5
|
-
{% endif %}
|
6
|
-
|
7
|
-
{% if page.ext-js %}
|
8
|
-
{% for js in page.ext-js %}
|
9
|
-
<script src="{{ js }}"></script>
|
10
|
-
{% endfor %}
|
11
|
-
{% endif %}
|
12
|
-
|
13
|
-
{% if page.js %}
|
14
|
-
{% for js in page.js %}
|
15
|
-
<script src="{{ js | replace: '//', '/' }}"></script>
|
3
|
+
{% include ext-js.html js=js %}
|
16
4
|
{% endfor %}
|
17
5
|
{% endif %}
|
18
6
|
|
@@ -21,14 +9,24 @@
|
|
21
9
|
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
|
22
10
|
{% if js contains 'jquery' %}
|
23
11
|
<script>
|
24
|
-
|
25
|
-
|
26
|
-
|
12
|
+
if (typeof jQuery == 'undefined') {
|
13
|
+
document.write('<script src="{{ js | relative_url }}"></scr' + 'ipt>');
|
14
|
+
}
|
27
15
|
</script>
|
28
16
|
{% else %}
|
29
|
-
|
17
|
+
<script src="{{ js | relative_url }}"></script>
|
30
18
|
{% endif %}
|
31
19
|
{% endfor %}
|
32
20
|
{% endif %}
|
33
21
|
|
34
|
-
{%
|
22
|
+
{% if page.ext-js %}
|
23
|
+
{% for js in page.ext-js %}
|
24
|
+
{% include ext-js.html js=js %}
|
25
|
+
{% endfor %}
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
{% if page.js %}
|
29
|
+
{% for js in page.js %}
|
30
|
+
<script src="{{ js | relative_url }}"></script>
|
31
|
+
{% endfor %}
|
32
|
+
{% endif %}
|
data/_includes/footer.html
CHANGED
@@ -1,177 +1,37 @@
|
|
1
1
|
<footer>
|
2
|
-
<div class="container beautiful-jekyll-footer">
|
2
|
+
<div class="container-md beautiful-jekyll-footer">
|
3
3
|
<div class="row">
|
4
|
-
<div class="col-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<li>
|
18
|
-
<a href="https://github.com/{{ site.author.github }}" title="GitHub">
|
19
|
-
<span class="fa-stack fa-lg">
|
20
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
21
|
-
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
22
|
-
</span>
|
23
|
-
</a>
|
24
|
-
</li>
|
25
|
-
{% endif %}
|
26
|
-
{% if site.author.twitter %}
|
27
|
-
<li>
|
28
|
-
<a href="https://twitter.com/{{ site.author.twitter }}" title="Twitter">
|
29
|
-
<span class="fa-stack fa-lg">
|
30
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
31
|
-
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
32
|
-
</span>
|
33
|
-
</a>
|
34
|
-
</li>
|
35
|
-
{% endif %}
|
36
|
-
{% if site.author.reddit %}
|
37
|
-
<li>
|
38
|
-
<a href="https://reddit.com/u/{{ site.author.reddit }}" title="Reddit">
|
39
|
-
<span class="fa-stack fa-lg">
|
40
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
41
|
-
<i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
|
42
|
-
</span>
|
43
|
-
</a>
|
44
|
-
</li>
|
45
|
-
{% endif %}
|
46
|
-
{% if site.author.google-plus %}
|
47
|
-
<li>
|
48
|
-
<a href="https://plus.google.com/{{ site.author.google-plus }}" title="Google+">
|
49
|
-
<span class="fa-stack fa-lg">
|
50
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
51
|
-
<i class="fa fa-google-plus fa-stack-1x fa-inverse"></i>
|
52
|
-
</span>
|
53
|
-
</a>
|
54
|
-
</li>
|
55
|
-
{% endif %}
|
56
|
-
{% if site.author.email %}
|
57
|
-
<li>
|
58
|
-
<a href="mailto:{{ site.author.email }}" title="Email me">
|
59
|
-
<span class="fa-stack fa-lg">
|
60
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
61
|
-
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
|
62
|
-
</span>
|
63
|
-
</a>
|
64
|
-
</li>
|
65
|
-
{% endif %}
|
66
|
-
{% if site.author.linkedin %}
|
67
|
-
<li>
|
68
|
-
<a href="https://linkedin.com/in/{{ site.author.linkedin }}" title="LinkedIn">
|
69
|
-
<span class="fa-stack fa-lg">
|
70
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
71
|
-
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
|
72
|
-
</span>
|
73
|
-
</a>
|
74
|
-
</li>
|
75
|
-
{% endif %}
|
76
|
-
{% if site.author.xing %}
|
77
|
-
<li>
|
78
|
-
<a href="https://www.xing.com/profile/{{ site.author.xing }}" title="Xing">
|
79
|
-
<span class="fa-stack fa-lg">
|
80
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
81
|
-
<i class="fa fa-xing fa-stack-1x fa-inverse"></i>
|
82
|
-
</span>
|
83
|
-
</a>
|
84
|
-
</li>
|
85
|
-
{% endif %}
|
86
|
-
{% if site.author.stackoverflow %}
|
87
|
-
<li>
|
88
|
-
<a href="https://stackoverflow.com/users/{{ site.author.stackoverflow }}" title="StackOverflow">
|
89
|
-
<span class="fa-stack fa-lg">
|
90
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
91
|
-
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i>
|
92
|
-
</span>
|
93
|
-
</a>
|
94
|
-
</li>
|
95
|
-
{% endif %}
|
96
|
-
{% if site.author.snapchat %}
|
97
|
-
<li>
|
98
|
-
<a href="https://www.snapchat.com/add/{{ site.author.snapchat }}" title="Snapchat">
|
99
|
-
<span class="fa-stack fa-lg">
|
100
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
101
|
-
<i class="fa fa-snapchat-ghost fa-stack-1x fa-inverse"></i>
|
102
|
-
</span>
|
103
|
-
</a>
|
104
|
-
</li>
|
105
|
-
{% endif %}
|
106
|
-
{% if site.author.instagram %}
|
107
|
-
<li>
|
108
|
-
<a href="https://www.instagram.com/{{ site.author.instagram }}" title="Instagram">
|
109
|
-
<span class="fa-stack fa-lg">
|
110
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
111
|
-
<i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
|
112
|
-
</span>
|
113
|
-
</a>
|
114
|
-
</li>
|
115
|
-
{% endif %}
|
116
|
-
{% if site.author.youtube %}
|
117
|
-
<li>
|
118
|
-
<a href="https://www.youtube.com/{{ site.author.youtube }}" title="YouTube">
|
119
|
-
<span class="fa-stack fa-lg">
|
120
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
121
|
-
<i class="fa fa-youtube fa-stack-1x fa-inverse"></i>
|
122
|
-
</span>
|
123
|
-
</a>
|
124
|
-
</li>
|
125
|
-
{% endif %}
|
126
|
-
{% if site.author.spotify %}
|
127
|
-
<li>
|
128
|
-
<a href="https://open.spotify.com/user/{{ site.author.spotify }}" title="Spotify">
|
129
|
-
<span class="fa-stack fa-lg">
|
130
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
131
|
-
<i class="fa fa-spotify fa-stack-1x fa-inverse"></i>
|
132
|
-
</span>
|
133
|
-
</a>
|
134
|
-
</li>
|
135
|
-
{% endif %}
|
136
|
-
{% if site.author.telephone %}
|
137
|
-
<li>
|
138
|
-
<a href="tel:{{ site.author.telephone }}" title="Phone">
|
139
|
-
<span class="fa-stack fa-lg">
|
140
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
141
|
-
<i class="fa fa-phone fa-stack-1x fa-inverse"></i>
|
142
|
-
</span>
|
143
|
-
</a>
|
144
|
-
</li>
|
145
|
-
{% endif %}
|
146
|
-
{% if site.rss-footer %}
|
147
|
-
<li>
|
148
|
-
<a href="/assets/feed.xml" title="RSS">
|
149
|
-
<span class="fa-stack fa-lg">
|
150
|
-
<i class="fa fa-circle fa-stack-2x"></i>
|
151
|
-
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
|
152
|
-
</span>
|
153
|
-
</a>
|
154
|
-
</li>
|
155
|
-
{% endif %}
|
156
|
-
</ul>
|
157
|
-
<p class="copyright text-muted">
|
158
|
-
{% if site.author.name %}
|
159
|
-
{{ site.author.name }}
|
160
|
-
•
|
161
|
-
{% endif %}
|
4
|
+
<div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
|
5
|
+
{% include social-networks-links.html %}
|
6
|
+
{% if page.footer-extra %}
|
7
|
+
<div class="footer-custom-content">
|
8
|
+
{% include {{ page.footer-extra }} %}
|
9
|
+
</div>
|
10
|
+
{% endif %}
|
11
|
+
<p class="copyright text-muted">
|
12
|
+
{% if site.author %}
|
13
|
+
{{ site.author }}
|
14
|
+
•
|
15
|
+
{% endif %}
|
16
|
+
{{ site.time | date: '%Y' }}
|
162
17
|
|
163
|
-
|
18
|
+
{% if site.url-pretty %}
|
19
|
+
•
|
20
|
+
<a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
|
21
|
+
{% endif %}
|
164
22
|
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
23
|
+
{% if site.matomo %}
|
24
|
+
{% if site.matomo.opt-out %}
|
25
|
+
•
|
26
|
+
<a href="http://{{- site.matomo.uri -}}/index.php?module=CoreAdminHome&action=optOut" target="_blank" class="text_muted">Do-not-Track</a>
|
27
|
+
{% endif %}
|
28
|
+
{% endif%}
|
29
|
+
</p>
|
30
|
+
<!-- Please don't remove this, keep my open source work credited :) -->
|
31
|
+
<p class="theme-by text-muted">
|
32
|
+
Theme by
|
33
|
+
<a href="https://beautifuljekyll.com">beautiful-jekyll</a>
|
34
|
+
</p>
|
175
35
|
</div>
|
176
36
|
</div>
|
177
37
|
</div>
|
@@ -1,12 +1,14 @@
|
|
1
1
|
{% if site.google_analytics %}
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<!-- Google Analytics -->
|
3
|
+
<script>
|
4
|
+
(function (i, s, o, g, r, a, m) {
|
5
|
+
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
6
|
+
(i[r].q = i[r].q || []).push(arguments)
|
7
|
+
}, i[r].l = 1 * new Date(); a = s.createElement(o),
|
8
|
+
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
|
9
|
+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
10
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
11
|
+
ga('send', 'pageview');
|
12
|
+
</script>
|
13
|
+
<!-- End Google Analytics -->
|
14
|
+
{% endif %}
|
data/_includes/gtag.html
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.gtag %}
|
2
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
3
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
4
|
+
<script>
|
5
|
+
window.dataLayer = window.dataLayer || [];
|
6
|
+
function gtag(){dataLayer.push(arguments);}
|
7
|
+
gtag('js', new Date());
|
8
|
+
gtag('config', '{{ site.gtag }}');
|
9
|
+
</script>
|
10
|
+
{% endif %}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
{% if site.gtm %}
|
2
|
+
<!-- Google Tag Manager (noscript) -->
|
3
|
+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
4
|
+
<!-- End Google Tag Manager (noscript) -->
|
5
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.gtm %}
|
2
|
+
<!-- Google Tag Manager -->
|
3
|
+
<script>
|
4
|
+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
5
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
6
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
7
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
8
|
+
})(window,document,'script','dataLayer','{{ site.gtm }}');
|
9
|
+
</script>
|
10
|
+
<!-- End Google Tag Manager -->
|
11
|
+
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -1,58 +1,58 @@
|
|
1
1
|
<head>
|
2
|
-
<meta charset="utf-8"
|
3
|
-
<meta
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
5
|
-
|
6
|
-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
7
|
-
|
8
|
-
<meta name="author" content="{{ site.author.name }}" />
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
9
4
|
|
5
|
+
<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
6
|
+
|
7
|
+
{% if site.author %}
|
8
|
+
<meta name="author" content="{{ site.author }}">
|
9
|
+
{% endif %}
|
10
|
+
|
10
11
|
{% if page.subtitle %}
|
11
12
|
<meta name="description" content="{{ page.subtitle }}">
|
12
13
|
{% endif %}
|
13
14
|
|
15
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}">
|
16
|
+
|
17
|
+
{% include gtag.html %}
|
18
|
+
{% include gtm_head.html %}
|
19
|
+
{% include google_analytics.html %}
|
20
|
+
|
14
21
|
{% if layout.common-ext-css %}
|
15
22
|
{% for css in layout.common-ext-css %}
|
16
|
-
|
23
|
+
{% include ext-css.html css=css %}
|
17
24
|
{% endfor %}
|
18
25
|
{% endif %}
|
19
26
|
|
20
27
|
{% if layout.common-css %}
|
21
28
|
{% for css in layout.common-css %}
|
22
|
-
<link rel="stylesheet" href="{{ css |
|
23
|
-
{% endfor %}
|
24
|
-
{% endif %}
|
25
|
-
|
26
|
-
{% if layout.common-googlefonts %}
|
27
|
-
{% for font in layout.common-googlefonts %}
|
28
|
-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
29
|
+
<link rel="stylesheet" href="{{ css | relative_url }}">
|
29
30
|
{% endfor %}
|
30
31
|
{% endif %}
|
31
32
|
|
32
33
|
{% if page.ext-css %}
|
33
34
|
{% for css in page.ext-css %}
|
34
|
-
|
35
|
+
{% include ext-css.html css=css %}
|
35
36
|
{% endfor %}
|
36
37
|
{% endif %}
|
37
38
|
|
38
39
|
{% if page.css %}
|
39
40
|
{% for css in page.css %}
|
40
|
-
<link rel="stylesheet" href="{{ css |
|
41
|
+
<link rel="stylesheet" href="{{ css | relative_url }}">
|
41
42
|
{% endfor %}
|
42
43
|
{% endif %}
|
43
44
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
{% endfor %}
|
45
|
+
<!-- Facebook OpenGraph tags -->
|
46
|
+
{% if site.fb_app_id %}
|
47
|
+
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
|
48
48
|
{% endif %}
|
49
49
|
|
50
50
|
{% if page.meta-title %}
|
51
|
-
<meta property="og:title" content="{{ page.meta-title }}"
|
51
|
+
<meta property="og:title" content="{{ page.meta-title }}">
|
52
52
|
{% elsif page.title %}
|
53
|
-
<meta property="og:title" content="{{ page.title }}"
|
54
|
-
{%
|
55
|
-
<meta property="og:title" content="{{ site.title }}"
|
53
|
+
<meta property="og:title" content="{{ page.title }}">
|
54
|
+
{% elsif site.title %}
|
55
|
+
<meta property="og:title" content="{{ site.title }}">
|
56
56
|
{% endif %}
|
57
57
|
|
58
58
|
{% if page.meta-description %}
|
@@ -64,34 +64,59 @@
|
|
64
64
|
{% endif %}
|
65
65
|
|
66
66
|
|
67
|
-
|
67
|
+
{% if page.id %}
|
68
|
+
<meta property="og:type" content="article">
|
69
|
+
<meta property="og:article:author" content="{{ site.author }}">
|
70
|
+
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
71
|
+
{% else %}
|
72
|
+
<meta property="og:type" content="website">
|
73
|
+
{% endif %}
|
68
74
|
|
69
75
|
{% if page.id %}
|
70
|
-
<meta property="og:url" content="{{
|
71
|
-
<link rel="canonical" href="{{
|
76
|
+
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
77
|
+
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
72
78
|
{% else %}
|
73
|
-
<meta property="og:url" content="{{
|
74
|
-
<link rel="canonical" href="{{
|
79
|
+
<meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
|
80
|
+
<link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
|
75
81
|
{% endif %}
|
76
82
|
|
77
|
-
{
|
78
|
-
|
79
|
-
|
80
|
-
|
83
|
+
{%- capture shareimg -%}
|
84
|
+
{% if page.share-img %}
|
85
|
+
{{ page.share-img }}
|
86
|
+
{% elsif page.cover-img %}
|
87
|
+
{% if page.cover-img.first %}
|
88
|
+
{{ page.cover-img[0].first.first }}
|
89
|
+
{% else %}
|
90
|
+
{{ page.cover-img }}
|
91
|
+
{% endif %}
|
92
|
+
{% elsif page.thumbnail-img %}
|
93
|
+
{{ page.thumbnail-img }}
|
94
|
+
{% elsif site.avatar %}
|
95
|
+
{{ site.avatar }}
|
96
|
+
{% endif %}
|
97
|
+
{% endcapture %}
|
98
|
+
{% assign shareimg=shareimg | strip %}
|
99
|
+
|
100
|
+
{% if shareimg != "" %}
|
101
|
+
<meta property="og:image" content="{{ shareimg | absolute_url }}">
|
81
102
|
{% endif %}
|
82
|
-
|
103
|
+
|
83
104
|
|
84
105
|
<!-- Twitter summary cards -->
|
85
|
-
|
86
|
-
<meta name="twitter:
|
87
|
-
|
106
|
+
{% if shareimg != "" and shareimg != site.avatar %}
|
107
|
+
<meta name="twitter:card" content="summary_large_image">
|
108
|
+
{% else %}
|
109
|
+
<meta name="twitter:card" content="summary">
|
110
|
+
{% endif %}
|
111
|
+
<meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
|
112
|
+
<meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
|
88
113
|
|
89
114
|
{% if page.meta-title %}
|
90
|
-
<meta name="twitter:title" content="{{ page.meta-title }}"
|
115
|
+
<meta name="twitter:title" content="{{ page.meta-title }}">
|
91
116
|
{% elsif page.title %}
|
92
|
-
<meta name="twitter:title" content="{{ page.title }}"
|
117
|
+
<meta name="twitter:title" content="{{ page.title }}">
|
93
118
|
{% else %}
|
94
|
-
<meta name="twitter:title" content="{{ site.title }}"
|
119
|
+
<meta name="twitter:title" content="{{ site.title }}">
|
95
120
|
{% endif %}
|
96
121
|
|
97
122
|
{% if page.meta-description %}
|
@@ -102,10 +127,17 @@
|
|
102
127
|
<meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
|
103
128
|
{% endif %}
|
104
129
|
|
105
|
-
{% if
|
106
|
-
<meta name="twitter:image" content="{{
|
107
|
-
{%
|
108
|
-
|
130
|
+
{% if shareimg != "" %}
|
131
|
+
<meta name="twitter:image" content="{{ shareimg | absolute_url }}">
|
132
|
+
{% endif %}
|
133
|
+
|
134
|
+
{% if site.matomo %}
|
135
|
+
{% include matomo.html %}
|
136
|
+
{% endif %}
|
137
|
+
|
138
|
+
{% if page.comments and site.staticman.repository and site.staticman.branch %}
|
139
|
+
<!-- Staticman -->
|
140
|
+
<link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
|
109
141
|
{% endif %}
|
110
142
|
|
111
143
|
</head>
|