creek-jekyll-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/_config.yml +306 -0
- data/_data/README.md +3 -0
- data/_data/navigation/docs.yml +56 -0
- data/_data/navigation/main.yml +12 -0
- data/_data/navigation.yml +68 -0
- data/_data/ui-text.yml +2024 -0
- data/_includes/analytics-providers/custom.html +3 -0
- data/_includes/analytics-providers/google-gtag.html +9 -0
- data/_includes/analytics-providers/google-universal.html +7 -0
- data/_includes/analytics-providers/google.html +14 -0
- data/_includes/analytics.html +14 -0
- data/_includes/archive-single.html +30 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +246 -0
- data/_includes/breadcrumbs.html +40 -0
- data/_includes/browser-upgrade.html +2 -0
- data/_includes/category-list.html +19 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.html +3 -0
- data/_includes/comments-providers/custom_scripts.html +3 -0
- data/_includes/comments-providers/discourse.html +13 -0
- data/_includes/comments-providers/disqus.html +15 -0
- data/_includes/comments-providers/facebook.html +8 -0
- data/_includes/comments-providers/giscus.html +24 -0
- data/_includes/comments-providers/scripts.html +20 -0
- data/_includes/comments-providers/staticman.html +40 -0
- data/_includes/comments-providers/staticman_v2.html +40 -0
- data/_includes/comments-providers/utterances.html +21 -0
- data/_includes/comments.html +180 -0
- data/_includes/documents-collection.html +15 -0
- data/_includes/feature_row +41 -0
- data/_includes/figure +9 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/footer.html +21 -0
- data/_includes/gallery +35 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head/custom.html +15 -0
- data/_includes/head.html +25 -0
- data/_includes/masthead.html +35 -0
- data/_includes/nav_list +26 -0
- data/_includes/page__date.html +6 -0
- data/_includes/page__hero.html +55 -0
- data/_includes/page__hero_video.html +2 -0
- data/_includes/page__meta.html +31 -0
- data/_includes/page__taxonomy.html +7 -0
- data/_includes/paginator.html +69 -0
- data/_includes/post_pagination.html +14 -0
- data/_includes/posts-category.html +5 -0
- data/_includes/posts-tag.html +5 -0
- data/_includes/scripts.html +28 -0
- data/_includes/search/algolia-search-scripts.html +62 -0
- data/_includes/search/google-search-scripts.html +30 -0
- data/_includes/search/lunr-search-scripts.html +10 -0
- data/_includes/search/search_form.html +26 -0
- data/_includes/seo.html +158 -0
- data/_includes/sidebar.html +19 -0
- data/_includes/skip-links.html +7 -0
- data/_includes/social-share.html +11 -0
- data/_includes/tag-list.html +19 -0
- data/_includes/toc +7 -0
- data/_includes/toc.html +182 -0
- data/_includes/video +24 -0
- data/_layouts/archive-taxonomy.html +29 -0
- data/_layouts/archive.html +26 -0
- data/_layouts/categories.html +43 -0
- data/_layouts/category.html +10 -0
- data/_layouts/collection.html +10 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +41 -0
- data/_layouts/home.html +22 -0
- data/_layouts/posts.html +30 -0
- data/_layouts/search.html +42 -0
- data/_layouts/single.html +95 -0
- data/_layouts/splash.html +22 -0
- data/_layouts/tag.html +10 -0
- data/_layouts/tags.html +43 -0
- data/_pages/404.html +26 -0
- data/_sass/minimal-mistakes/_animations.scss +21 -0
- data/_sass/minimal-mistakes/_archive.scss +463 -0
- data/_sass/minimal-mistakes/_base.scss +339 -0
- data/_sass/minimal-mistakes/_buttons.scss +97 -0
- data/_sass/minimal-mistakes/_footer.scss +85 -0
- data/_sass/minimal-mistakes/_forms.scss +359 -0
- data/_sass/minimal-mistakes/_masthead.scss +93 -0
- data/_sass/minimal-mistakes/_mixins.scss +92 -0
- data/_sass/minimal-mistakes/_navigation.scss +573 -0
- data/_sass/minimal-mistakes/_notices.scss +109 -0
- data/_sass/minimal-mistakes/_page.scss +578 -0
- data/_sass/minimal-mistakes/_print.scss +252 -0
- data/_sass/minimal-mistakes/_reset.scss +187 -0
- data/_sass/minimal-mistakes/_search.scss +132 -0
- data/_sass/minimal-mistakes/_sidebar.scss +353 -0
- data/_sass/minimal-mistakes/_syntax.scss +324 -0
- data/_sass/minimal-mistakes/_tables.scss +39 -0
- data/_sass/minimal-mistakes/_utilities.scss +593 -0
- data/_sass/minimal-mistakes/_variables.scss +173 -0
- data/_sass/minimal-mistakes/skins/_air.scss +23 -0
- data/_sass/minimal-mistakes/skins/_aqua.scss +34 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +52 -0
- data/_sass/minimal-mistakes/skins/_dark.scss +30 -0
- data/_sass/minimal-mistakes/skins/_default.scss +5 -0
- data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
- data/_sass/minimal-mistakes/skins/_mint.scss +24 -0
- data/_sass/minimal-mistakes/skins/_neon.scss +63 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +70 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +49 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
- data/_sass/minimal-mistakes.scss +40 -0
- data/assets/css/main.scss +9 -0
- data/assets/images/android-chrome-192x192.png +0 -0
- data/assets/images/android-chrome-512x512.png +0 -0
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/browserconfig.xml +9 -0
- data/assets/images/creek-logo.png +0 -0
- data/assets/images/favicon-16x16.png +0 -0
- data/assets/images/favicon-32x32.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/mstile-150x150.png +0 -0
- data/assets/images/safari-pinned-tab.svg +48 -0
- data/assets/images/site-under-construction.png +0 -0
- data/assets/images/site.webmanifest +19 -0
- data/assets/js/_main.js +136 -0
- data/assets/js/lunr/lunr-en.js +73 -0
- data/assets/js/lunr/lunr-gr.js +526 -0
- data/assets/js/lunr/lunr-store.js +84 -0
- data/assets/js/lunr/lunr.js +3475 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/main.min.js +6 -0
- data/assets/js/plugins/gumshoe.js +484 -0
- data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
- data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
- data/assets/js/plugins/smooth-scroll.js +650 -0
- data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
- metadata +233 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
|
3
|
+
<script>
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': {{ site.analytics.google.anonymize_ip | default: false }}});
|
9
|
+
</script>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<script>
|
2
|
+
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
|
3
|
+
ga('create','{{ site.analytics.google.tracking_id }}','auto');
|
4
|
+
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }});
|
5
|
+
ga('send','pageview')
|
6
|
+
</script>
|
7
|
+
<script src="https://www.google-analytics.com/analytics.js" async></script>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<script>
|
2
|
+
var _gaq = _gaq || [];
|
3
|
+
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
4
|
+
{% if site.analytics.google.anonymize_ip == true %}
|
5
|
+
_gaq.push(['_gat._anonymizeIp']);
|
6
|
+
{% endif %}
|
7
|
+
_gaq.push(['_trackPageview']);
|
8
|
+
|
9
|
+
(function() {
|
10
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
11
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
12
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
13
|
+
})();
|
14
|
+
</script>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
|
2
|
+
|
3
|
+
{% case site.analytics.provider %}
|
4
|
+
{% when "google" %}
|
5
|
+
{% include /analytics-providers/google.html %}
|
6
|
+
{% when "google-universal" %}
|
7
|
+
{% include /analytics-providers/google-universal.html %}
|
8
|
+
{% when "google-gtag" %}
|
9
|
+
{% include /analytics-providers/google-gtag.html %}
|
10
|
+
{% when "custom" %}
|
11
|
+
{% include /analytics-providers/custom.html %}
|
12
|
+
{% endcase %}
|
13
|
+
|
14
|
+
{% endif %}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{% if post.header.teaser %}
|
2
|
+
{% capture teaser %}{{ post.header.teaser }}{% endcapture %}
|
3
|
+
{% else %}
|
4
|
+
{% assign teaser = site.teaser %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
{% if post.id %}
|
8
|
+
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
9
|
+
{% else %}
|
10
|
+
{% assign title = post.title %}
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<div class="{{ include.type | default: 'list' }}__item">
|
14
|
+
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
15
|
+
{% if include.type == "grid" and teaser %}
|
16
|
+
<div class="archive__item-teaser">
|
17
|
+
<img src="{{ teaser | relative_url }}" alt="">
|
18
|
+
</div>
|
19
|
+
{% endif %}
|
20
|
+
<h2 class="archive__item-title no_toc" itemprop="headline">
|
21
|
+
{% if post.link %}
|
22
|
+
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
23
|
+
{% else %}
|
24
|
+
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
|
25
|
+
{% endif %}
|
26
|
+
</h2>
|
27
|
+
{% include page__meta.html type=include.type %}
|
28
|
+
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
29
|
+
</article>
|
30
|
+
</div>
|
@@ -0,0 +1,246 @@
|
|
1
|
+
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
2
|
+
{% assign author = site.data.authors[author] | default: author %}
|
3
|
+
|
4
|
+
<div itemscope itemtype="https://schema.org/Person" class="h-card">
|
5
|
+
|
6
|
+
{% if author.avatar %}
|
7
|
+
<div class="author__avatar">
|
8
|
+
<a href="{{ author.home | default: '/' | absolute_url }}">
|
9
|
+
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image" class="u-photo">
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
<div class="author__content">
|
15
|
+
<h3 class="author__name p-name" itemprop="name">
|
16
|
+
<a class="u-url" rel="me" href="{{ author.home | default: '/' | absolute_url }}" itemprop="url">{{ author.name }}</a>
|
17
|
+
</h3>
|
18
|
+
{% if author.bio %}
|
19
|
+
<div class="author__bio p-note" itemprop="description">
|
20
|
+
{{ author.bio | markdownify }}
|
21
|
+
</div>
|
22
|
+
{% endif %}
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="author__urls-wrapper">
|
26
|
+
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
27
|
+
<ul class="author__urls social-icons">
|
28
|
+
{% if author.location %}
|
29
|
+
<li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
|
30
|
+
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name" class="p-locality">{{ author.location }}</span>
|
31
|
+
</li>
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
{% if author.links %}
|
35
|
+
{% for link in author.links %}
|
36
|
+
{% if link.label and link.url %}
|
37
|
+
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"{% if link.url contains 'http' %} itemprop="sameAs"{% endif %}><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
|
38
|
+
{% endif %}
|
39
|
+
{% endfor %}
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
{% if author.uri %}
|
43
|
+
<li>
|
44
|
+
<a href="{{ author.uri }}" itemprop="url" rel="me">
|
45
|
+
<i class="fas fa-fw fa-link" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</span>
|
46
|
+
</a>
|
47
|
+
</li>
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% if author.email %}
|
51
|
+
<li>
|
52
|
+
<a href="mailto:{{ author.email }}" rel="me" class="u-email">
|
53
|
+
<meta itemprop="email" content="{{ author.email }}" />
|
54
|
+
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
|
55
|
+
</a>
|
56
|
+
</li>
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
{% if author.keybase %}
|
60
|
+
<li>
|
61
|
+
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
62
|
+
<i class="fab fa-fw fa-keybase" aria-hidden="true"></i><span class="label">Keybase</span>
|
63
|
+
</a>
|
64
|
+
</li>
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
{% if author.twitter %}
|
68
|
+
<li>
|
69
|
+
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
70
|
+
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
|
71
|
+
</a>
|
72
|
+
</li>
|
73
|
+
{% endif %}
|
74
|
+
|
75
|
+
{% if author.facebook %}
|
76
|
+
<li>
|
77
|
+
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
78
|
+
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
|
79
|
+
</a>
|
80
|
+
</li>
|
81
|
+
{% endif %}
|
82
|
+
|
83
|
+
{% if author.linkedin %}
|
84
|
+
<li>
|
85
|
+
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
86
|
+
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
|
87
|
+
</a>
|
88
|
+
</li>
|
89
|
+
{% endif %}
|
90
|
+
|
91
|
+
{% if author.xing %}
|
92
|
+
<li>
|
93
|
+
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
94
|
+
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
|
95
|
+
</a>
|
96
|
+
</li>
|
97
|
+
{% endif %}
|
98
|
+
|
99
|
+
{% if author.instagram %}
|
100
|
+
<li>
|
101
|
+
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
102
|
+
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
|
103
|
+
</a>
|
104
|
+
</li>
|
105
|
+
{% endif %}
|
106
|
+
|
107
|
+
{% if author.tumblr %}
|
108
|
+
<li>
|
109
|
+
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
110
|
+
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
|
111
|
+
</a>
|
112
|
+
</li>
|
113
|
+
{% endif %}
|
114
|
+
|
115
|
+
{% if author.bitbucket %}
|
116
|
+
<li>
|
117
|
+
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
118
|
+
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
|
119
|
+
</a>
|
120
|
+
</li>
|
121
|
+
{% endif %}
|
122
|
+
|
123
|
+
{% if author.github %}
|
124
|
+
<li>
|
125
|
+
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
126
|
+
<i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
|
127
|
+
</a>
|
128
|
+
</li>
|
129
|
+
{% endif %}
|
130
|
+
|
131
|
+
{% if author.gitlab %}
|
132
|
+
<li>
|
133
|
+
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
134
|
+
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
|
135
|
+
</a>
|
136
|
+
</li>
|
137
|
+
{% endif %}
|
138
|
+
|
139
|
+
{% if author.stackoverflow %}
|
140
|
+
<li>
|
141
|
+
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
142
|
+
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
|
143
|
+
</a>
|
144
|
+
</li>
|
145
|
+
{% endif %}
|
146
|
+
|
147
|
+
{% if author.lastfm %}
|
148
|
+
<li>
|
149
|
+
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
150
|
+
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
|
151
|
+
</a>
|
152
|
+
</li>
|
153
|
+
{% endif %}
|
154
|
+
|
155
|
+
{% if author.dribbble %}
|
156
|
+
<li>
|
157
|
+
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
158
|
+
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
|
159
|
+
</a>
|
160
|
+
</li>
|
161
|
+
{% endif %}
|
162
|
+
|
163
|
+
{% if author.pinterest %}
|
164
|
+
<li>
|
165
|
+
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
166
|
+
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
|
167
|
+
</a>
|
168
|
+
</li>
|
169
|
+
{% endif %}
|
170
|
+
|
171
|
+
{% if author.foursquare %}
|
172
|
+
<li>
|
173
|
+
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
174
|
+
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
|
175
|
+
</a>
|
176
|
+
</li>
|
177
|
+
{% endif %}
|
178
|
+
|
179
|
+
{% if author.steam %}
|
180
|
+
<li>
|
181
|
+
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
182
|
+
<i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
|
183
|
+
</a>
|
184
|
+
</li>
|
185
|
+
{% endif %}
|
186
|
+
|
187
|
+
{% if author.youtube %}
|
188
|
+
{% if author.youtube contains "://" %}
|
189
|
+
<li>
|
190
|
+
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
191
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
|
192
|
+
</a>
|
193
|
+
</li>
|
194
|
+
{% elsif author.youtube %}
|
195
|
+
<li>
|
196
|
+
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
197
|
+
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
|
198
|
+
</a>
|
199
|
+
</li>
|
200
|
+
{% endif %}
|
201
|
+
{% endif %}
|
202
|
+
|
203
|
+
{% if author.soundcloud %}
|
204
|
+
<li>
|
205
|
+
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
206
|
+
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
|
207
|
+
</a>
|
208
|
+
</li>
|
209
|
+
{% endif %}
|
210
|
+
|
211
|
+
{% if author.weibo %}
|
212
|
+
<li>
|
213
|
+
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
214
|
+
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
|
215
|
+
</a>
|
216
|
+
</li>
|
217
|
+
{% endif %}
|
218
|
+
|
219
|
+
{% if author.flickr %}
|
220
|
+
<li>
|
221
|
+
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
222
|
+
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
|
223
|
+
</a>
|
224
|
+
</li>
|
225
|
+
{% endif %}
|
226
|
+
|
227
|
+
{% if author.codepen %}
|
228
|
+
<li>
|
229
|
+
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
230
|
+
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
|
231
|
+
</a>
|
232
|
+
</li>
|
233
|
+
{% endif %}
|
234
|
+
|
235
|
+
{% if author.vine %}
|
236
|
+
<li>
|
237
|
+
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
238
|
+
<i class="fab fa-fw fa-vine" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
|
239
|
+
</a>
|
240
|
+
</li>
|
241
|
+
{% endif %}
|
242
|
+
|
243
|
+
{% include author-profile-custom-links.html %}
|
244
|
+
</ul>
|
245
|
+
</div>
|
246
|
+
</div>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{% case site.category_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if page.collection != 'posts' %}
|
9
|
+
{% assign path_type = nil %}
|
10
|
+
{% assign crumb_path = '/' %}
|
11
|
+
{% else %}
|
12
|
+
{% assign crumb_path = site.category_archive.path %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<nav class="breadcrumbs">
|
16
|
+
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
17
|
+
{% assign crumbs = page.url | split: '/' %}
|
18
|
+
{% assign i = 1 %}
|
19
|
+
{% for crumb in crumbs offset: 1 %}
|
20
|
+
{% if forloop.first %}
|
21
|
+
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
22
|
+
<a href="{{ '/' | relative_url }}" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
23
|
+
|
24
|
+
<meta itemprop="position" content="{{ i }}" />
|
25
|
+
</li>
|
26
|
+
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
27
|
+
{% endif %}
|
28
|
+
{% if forloop.last %}
|
29
|
+
<li class="current">{{ page.title }}</li>
|
30
|
+
{% else %}
|
31
|
+
{% assign i = i | plus: 1 %}
|
32
|
+
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
33
|
+
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
34
|
+
<meta itemprop="position" content="{{ i }}" />
|
35
|
+
</li>
|
36
|
+
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
37
|
+
{% endif %}
|
38
|
+
{% endfor %}
|
39
|
+
</ol>
|
40
|
+
</nav>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{% case site.category_archive.type %}
|
2
|
+
{% when "liquid" %}
|
3
|
+
{% assign path_type = "#" %}
|
4
|
+
{% when "jekyll-archives" %}
|
5
|
+
{% assign path_type = nil %}
|
6
|
+
{% endcase %}
|
7
|
+
|
8
|
+
{% if site.category_archive.path %}
|
9
|
+
{% assign categories_sorted = page.categories | sort_natural %}
|
10
|
+
|
11
|
+
<p class="page__taxonomy">
|
12
|
+
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
13
|
+
<span itemprop="keywords">
|
14
|
+
{% for category_word in categories_sorted %}
|
15
|
+
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
16
|
+
{% endfor %}
|
17
|
+
</span>
|
18
|
+
</p>
|
19
|
+
{% endif %}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
2
|
+
<div class="comment__avatar-wrapper">
|
3
|
+
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
|
4
|
+
</div>
|
5
|
+
<div class="comment__content-wrapper">
|
6
|
+
<h3 class="comment__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
7
|
+
{% unless include.url == blank %}
|
8
|
+
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
9
|
+
{% else %}
|
10
|
+
<span itemprop="name">{{ include.name }}</span>
|
11
|
+
{% endunless %}
|
12
|
+
</h3>
|
13
|
+
<p class="comment__date">
|
14
|
+
{% if include.date %}
|
15
|
+
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
|
16
|
+
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %-d, %Y at %I:%M %p" }}</time>
|
17
|
+
{% if include.index %}</a>{% endif %}
|
18
|
+
{% endif %}
|
19
|
+
</p>
|
20
|
+
<div itemprop="text">{{ include.message | markdownify }}</div>
|
21
|
+
</div>
|
22
|
+
</article>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% if site.comments.discourse.server %}
|
2
|
+
{% capture canonical %}{% if site.permalink contains '.html' %}{{ page.url | absolute_url }}{% else %}{{ page.url | absolute_url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
3
|
+
<script type="text/javascript">
|
4
|
+
DiscourseEmbed = { discourseUrl: '//{{ site.comments.discourse.server }}/',
|
5
|
+
discourseEmbedUrl: '{{ canonical }}' };
|
6
|
+
(function () {
|
7
|
+
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
|
8
|
+
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
|
9
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
10
|
+
})();
|
11
|
+
</script>
|
12
|
+
<noscript>Please enable JavaScript to view the comments powered by <a href="https://www.discourse.org/">Discourse.</a></noscript>
|
13
|
+
{% endif %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% if site.comments.disqus.shortname %}
|
2
|
+
<script>
|
3
|
+
var disqus_config = function () {
|
4
|
+
this.page.url = "{{ page.url | absolute_url }}"; /* Replace PAGE_URL with your page's canonical URL variable */
|
5
|
+
this.page.identifier = "{{ page.id }}"; /* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
|
6
|
+
};
|
7
|
+
(function() { /* DON'T EDIT BELOW THIS LINE */
|
8
|
+
var d = document, s = d.createElement('script');
|
9
|
+
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
|
10
|
+
s.setAttribute('data-timestamp', +new Date());
|
11
|
+
(d.head || d.body).appendChild(s);
|
12
|
+
})();
|
13
|
+
</script>
|
14
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
15
|
+
{% endif %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<div id="fb-root"></div>
|
2
|
+
<script>(function(d, s, id) {
|
3
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
4
|
+
if (d.getElementById(id)) return;
|
5
|
+
js = d.createElement(s); js.id = id;
|
6
|
+
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5{% if site.comments.facebook.appid %}&appId={{ site.comments.facebook.appid }}{% endif %}";
|
7
|
+
fjs.parentNode.insertBefore(js, fjs);
|
8
|
+
}(document, 'script', 'facebook-jssdk'));</script>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<script>
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
(function () {
|
5
|
+
var commentContainer = document.querySelector('#giscus-comments');
|
6
|
+
|
7
|
+
if (!commentContainer) {
|
8
|
+
return;
|
9
|
+
}
|
10
|
+
|
11
|
+
var script = document.createElement('script');
|
12
|
+
script.setAttribute('src', 'https://giscus.app/client.js');
|
13
|
+
script.setAttribute('data-repo', '{{ site.repository | downcase }}');
|
14
|
+
script.setAttribute('data-repo-id', '{{ site.comments.giscus.repo_id }}');
|
15
|
+
script.setAttribute('data-category', '{{ site.comments.giscus.category_name }}');
|
16
|
+
script.setAttribute('data-category-id', '{{ site.comments.giscus.category_id }}');
|
17
|
+
script.setAttribute('data-mapping', '{{ site.comments.giscus.discussion_term | default: "pathname" }}');
|
18
|
+
script.setAttribute('data-reactions-enabled', '{{ site.comments.giscus.reactions_enabled | default: 1 }}');
|
19
|
+
script.setAttribute('data-theme', '{{ site.comments.giscus.theme | default: "light" }}');
|
20
|
+
script.setAttribute('crossorigin', 'anonymous');
|
21
|
+
|
22
|
+
commentContainer.appendChild(script);
|
23
|
+
})();
|
24
|
+
</script>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{% if site.comments.provider and page.comments %}
|
2
|
+
{% case site.comments.provider %}
|
3
|
+
{% when "disqus" %}
|
4
|
+
{% include /comments-providers/disqus.html %}
|
5
|
+
{% when "discourse" %}
|
6
|
+
{% include /comments-providers/discourse.html %}
|
7
|
+
{% when "facebook" %}
|
8
|
+
{% include /comments-providers/facebook.html %}
|
9
|
+
{% when "staticman" %}
|
10
|
+
{% include /comments-providers/staticman.html %}
|
11
|
+
{% when "staticman_v2" %}
|
12
|
+
{% include /comments-providers/staticman_v2.html %}
|
13
|
+
{% when "utterances" %}
|
14
|
+
{% include /comments-providers/utterances.html %}
|
15
|
+
{% when "giscus" %}
|
16
|
+
{% include /comments-providers/giscus.html %}
|
17
|
+
{% when "custom" %}
|
18
|
+
{% include /comments-providers/custom_scripts.html %}
|
19
|
+
{% endcase %}
|
20
|
+
{% endif %}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{% if site.repository and site.staticman.branch %}
|
2
|
+
<script>
|
3
|
+
(function ($) {
|
4
|
+
$('#new_comment').submit(function () {
|
5
|
+
var form = this;
|
6
|
+
|
7
|
+
$(form).addClass('disabled');
|
8
|
+
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
9
|
+
|
10
|
+
$.ajax({
|
11
|
+
type: $(this).attr('method'),
|
12
|
+
url: $(this).attr('action'),
|
13
|
+
data: $(this).serialize(),
|
14
|
+
contentType: 'application/x-www-form-urlencoded',
|
15
|
+
success: function (data) {
|
16
|
+
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
|
17
|
+
$('.page__comments-form .js-notice').removeClass('notice--danger');
|
18
|
+
$('.page__comments-form .js-notice').addClass('notice--success');
|
19
|
+
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
|
20
|
+
},
|
21
|
+
error: function (err) {
|
22
|
+
console.log(err);
|
23
|
+
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
|
24
|
+
$('.page__comments-form .js-notice').removeClass('notice--success');
|
25
|
+
$('.page__comments-form .js-notice').addClass('notice--danger');
|
26
|
+
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
|
27
|
+
$(form).removeClass('disabled');
|
28
|
+
}
|
29
|
+
});
|
30
|
+
|
31
|
+
return false;
|
32
|
+
});
|
33
|
+
|
34
|
+
function showAlert(message) {
|
35
|
+
$('.page__comments-form .js-notice').removeClass('hidden');
|
36
|
+
$('.page__comments-form .js-notice-text').html(message);
|
37
|
+
}
|
38
|
+
})(jQuery);
|
39
|
+
</script>
|
40
|
+
{% endif %}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{% if site.repository and site.comments.staticman.branch %}
|
2
|
+
<script>
|
3
|
+
(function ($) {
|
4
|
+
$('#new_comment').submit(function () {
|
5
|
+
var form = this;
|
6
|
+
|
7
|
+
$(form).addClass('disabled');
|
8
|
+
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
9
|
+
|
10
|
+
$.ajax({
|
11
|
+
type: $(this).attr('method'),
|
12
|
+
url: $(this).attr('action'),
|
13
|
+
data: $(this).serialize(),
|
14
|
+
contentType: 'application/x-www-form-urlencoded',
|
15
|
+
success: function (data) {
|
16
|
+
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submitted | default: "Submitted" }}');
|
17
|
+
$('.page__comments-form .js-notice').removeClass('notice--danger');
|
18
|
+
$('.page__comments-form .js-notice').addClass('notice--success');
|
19
|
+
showAlert('{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }}');
|
20
|
+
},
|
21
|
+
error: function (err) {
|
22
|
+
console.log(err);
|
23
|
+
$('#comment-form-submit').html('{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}');
|
24
|
+
$('.page__comments-form .js-notice').removeClass('notice--success');
|
25
|
+
$('.page__comments-form .js-notice').addClass('notice--danger');
|
26
|
+
showAlert('{{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}');
|
27
|
+
$(form).removeClass('disabled');
|
28
|
+
}
|
29
|
+
});
|
30
|
+
|
31
|
+
return false;
|
32
|
+
});
|
33
|
+
|
34
|
+
function showAlert(message) {
|
35
|
+
$('.page__comments-form .js-notice').removeClass('hidden');
|
36
|
+
$('.page__comments-form .js-notice-text').html(message);
|
37
|
+
}
|
38
|
+
})(jQuery);
|
39
|
+
</script>
|
40
|
+
{% endif %}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<script>
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
(function() {
|
5
|
+
var commentContainer = document.querySelector('#utterances-comments');
|
6
|
+
|
7
|
+
if (!commentContainer) {
|
8
|
+
return;
|
9
|
+
}
|
10
|
+
|
11
|
+
var script = document.createElement('script');
|
12
|
+
script.setAttribute('src', 'https://utteranc.es/client.js');
|
13
|
+
script.setAttribute('repo', '{{ site.repository }}');
|
14
|
+
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
|
15
|
+
{% if site.comments.utterances.label %}script.setAttribute('label', '{{ site.comments.utterances.label }}');{% endif %}
|
16
|
+
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
|
17
|
+
script.setAttribute('crossorigin', 'anonymous');
|
18
|
+
|
19
|
+
commentContainer.appendChild(script);
|
20
|
+
})();
|
21
|
+
</script>
|