benimal-mistakes-jekyll 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +1095 -0
- data/LICENSE.txt +63 -0
- data/README.md +245 -0
- data/_data/navigation.yml +12 -0
- data/_data/ui-text.yml +1079 -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 +10 -0
- data/_includes/analytics-providers/google.html +14 -0
- data/_includes/analytics.html +14 -0
- data/_includes/archive-single.html +38 -0
- data/_includes/author-profile-custom-links.html +7 -0
- data/_includes/author-profile.html +263 -0
- data/_includes/base_path +5 -0
- data/_includes/breadcrumbs.html +39 -0
- data/_includes/browser-upgrade.html +3 -0
- data/_includes/category-list.html +26 -0
- data/_includes/comment.html +22 -0
- data/_includes/comments-providers/custom.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/google-plus.html +2 -0
- data/_includes/comments-providers/scripts.html +18 -0
- data/_includes/comments-providers/staticman.html +42 -0
- data/_includes/comments-providers/staticman_v2.html +42 -0
- data/_includes/comments.html +171 -0
- data/_includes/documents-collection.html +19 -0
- data/_includes/feature_row +53 -0
- data/_includes/figure +12 -0
- data/_includes/footer.html +25 -0
- data/_includes/footer/custom.html +3 -0
- data/_includes/gallery +47 -0
- data/_includes/group-by-array +47 -0
- data/_includes/head.html +43 -0
- data/_includes/head/custom.html +5 -0
- data/_includes/masthead.html +33 -0
- data/_includes/nav_list +47 -0
- data/_includes/page__hero.html +61 -0
- data/_includes/page__hero_video.html +4 -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 +3 -0
- data/_includes/posts-tag.html +3 -0
- data/_includes/read-time.html +15 -0
- data/_includes/schedule.html +57 -0
- data/_includes/scripts.html +28 -0
- data/_includes/search/algolia-search-scripts.html +54 -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 +18 -0
- data/_includes/seo.html +164 -0
- data/_includes/sidebar.html +23 -0
- data/_includes/social-share.html +13 -0
- data/_includes/tag-list.html +26 -0
- data/_includes/toc +7 -0
- data/_includes/toc.html +75 -0
- data/_includes/two-day-schedule.html +71 -0
- data/_includes/video +11 -0
- data/_layouts/archive-taxonomy.html +15 -0
- data/_layouts/archive.html +26 -0
- data/_layouts/categories.html +42 -0
- data/_layouts/category.html +9 -0
- data/_layouts/collection.html +9 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +42 -0
- data/_layouts/home.html +11 -0
- data/_layouts/posts.html +29 -0
- data/_layouts/search.html +42 -0
- data/_layouts/single.html +92 -0
- data/_layouts/splash.html +22 -0
- data/_layouts/tag.html +9 -0
- data/_layouts/tags.html +42 -0
- data/_sass/minimal-mistakes.scss +40 -0
- data/_sass/minimal-mistakes/_animations.scss +21 -0
- data/_sass/minimal-mistakes/_archive.scss +362 -0
- data/_sass/minimal-mistakes/_base.scss +358 -0
- data/_sass/minimal-mistakes/_buttons.scss +98 -0
- data/_sass/minimal-mistakes/_footer.scss +91 -0
- data/_sass/minimal-mistakes/_forms.scss +393 -0
- data/_sass/minimal-mistakes/_masthead.scss +83 -0
- data/_sass/minimal-mistakes/_mixins.scss +92 -0
- data/_sass/minimal-mistakes/_navigation.scss +544 -0
- data/_sass/minimal-mistakes/_notices.scss +100 -0
- data/_sass/minimal-mistakes/_page.scss +520 -0
- data/_sass/minimal-mistakes/_print.scss +252 -0
- data/_sass/minimal-mistakes/_reset.scss +187 -0
- data/_sass/minimal-mistakes/_search.scss +125 -0
- data/_sass/minimal-mistakes/_sidebar.scss +310 -0
- data/_sass/minimal-mistakes/_syntax.scss +324 -0
- data/_sass/minimal-mistakes/_tables.scss +37 -0
- data/_sass/minimal-mistakes/_utilities.scss +524 -0
- data/_sass/minimal-mistakes/_variables.scss +154 -0
- data/_sass/minimal-mistakes/skins/_air.scss +23 -0
- data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +51 -0
- data/_sass/minimal-mistakes/skins/_dark.scss +42 -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 +23 -0
- data/_sass/minimal-mistakes/skins/_neon.scss +53 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +60 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +44 -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/assets/css/main.scss +8 -0
- data/assets/js/_main.js +106 -0
- data/assets/js/lunr/lunr-en.js +75 -0
- data/assets/js/lunr/lunr-gr.js +528 -0
- data/assets/js/lunr/lunr-store.js +52 -0
- data/assets/js/lunr/lunr.js +2977 -0
- data/assets/js/lunr/lunr.min.js +6 -0
- data/assets/js/main.min.js +9 -0
- data/assets/js/plugins/jquery.fitvids.js +82 -0
- data/assets/js/plugins/jquery.greedy-navigation.js +83 -0
- data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
- data/assets/js/plugins/jquery.smooth-scroll.min.js +9 -0
- data/assets/js/vendor/jquery/jquery-3.3.1.min.js +2 -0
- metadata +327 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
{% assign schedule = site.data.schedule %}
|
2
|
+
|
3
|
+
<table class="schedule" style="border: 1px">
|
4
|
+
<thead>
|
5
|
+
<tr>
|
6
|
+
<th></th>
|
7
|
+
<th>Tuesday</th>
|
8
|
+
<th>Thursday</th>
|
9
|
+
<th></th>
|
10
|
+
<th>Assignment</th>
|
11
|
+
</tr>
|
12
|
+
</thead>
|
13
|
+
{% for week in schedule.weeks %}
|
14
|
+
<tr class="week">
|
15
|
+
<td class="number">{{ week.number }}</td>
|
16
|
+
|
17
|
+
{% assign class = week.class[0] %}
|
18
|
+
<td class="date">
|
19
|
+
<p class="day">{{ class.date }}</p>
|
20
|
+
</td>
|
21
|
+
<td class="title">
|
22
|
+
{{ class.title }}
|
23
|
+
{% if class.materials %}
|
24
|
+
<ul class="materials">
|
25
|
+
{% for material in class.materials %}
|
26
|
+
<li>
|
27
|
+
<a href="{{material.link}}">{{material.title}}</a>
|
28
|
+
</li>
|
29
|
+
{% endfor %}
|
30
|
+
</ul>
|
31
|
+
{% endif %}
|
32
|
+
</td>
|
33
|
+
|
34
|
+
{% assign class = week.class[1] %}
|
35
|
+
<td class="title">
|
36
|
+
{{ class.title }}
|
37
|
+
{% if class.materials %}
|
38
|
+
<ul class="materials">
|
39
|
+
{% for material in class.materials %}
|
40
|
+
<li>
|
41
|
+
<a href="{{material.link}}">{{material.title}}</a>
|
42
|
+
</li>
|
43
|
+
{% endfor %}
|
44
|
+
</ul>
|
45
|
+
{% endif %}
|
46
|
+
</td>
|
47
|
+
<td class="date">
|
48
|
+
<p class="day">{{ class.date " }}</p>
|
49
|
+
</td>
|
50
|
+
|
51
|
+
<td class="assignment">
|
52
|
+
{% for assignment in week.assignments %}
|
53
|
+
<p class="title">
|
54
|
+
{% if assignment.url %}
|
55
|
+
<a href="{{ assignment.url }}">
|
56
|
+
{% endif %}
|
57
|
+
{{ assignment.title }}
|
58
|
+
{% if assignment.url %}
|
59
|
+
</a>
|
60
|
+
{% endif %}
|
61
|
+
</p>
|
62
|
+
{% if assignment.dueDate %}
|
63
|
+
<p class="due-date">
|
64
|
+
<b>Submission:</b> {{ assignment.dueDate }}
|
65
|
+
</p>
|
66
|
+
{% endif %}
|
67
|
+
{% endfor %}
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
{% endfor %}
|
71
|
+
</table>
|
data/_includes/video
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{% capture video_id %}{{ include.id }}{% endcapture %}
|
2
|
+
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
3
|
+
|
4
|
+
<!-- Courtesy of embedresponsively.com //-->
|
5
|
+
<div class="responsive-video-container">
|
6
|
+
{% if video_provider == "vimeo" %}
|
7
|
+
<iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
8
|
+
{% elsif video_provider == "youtube" %}
|
9
|
+
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
10
|
+
{% endif %}
|
11
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
author_profile: false
|
4
|
+
---
|
5
|
+
|
6
|
+
<div id="main" role="main">
|
7
|
+
{% include sidebar.html %}
|
8
|
+
|
9
|
+
<div class="archive">
|
10
|
+
<h1 class="page__title">{{ page.title }}</h1>
|
11
|
+
{% for post in page.posts %}
|
12
|
+
{% include archive-single.html %}
|
13
|
+
{% endfor %}
|
14
|
+
</div>
|
15
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
12
|
+
{% unless paginator %}
|
13
|
+
{% include breadcrumbs.html %}
|
14
|
+
{% endunless %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div id="main" role="main">
|
18
|
+
{% include sidebar.html %}
|
19
|
+
|
20
|
+
<div class="archive">
|
21
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
22
|
+
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
23
|
+
{% endunless %}
|
24
|
+
{{ content }}
|
25
|
+
</div>
|
26
|
+
</div>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% assign categories_max = 0 %}
|
8
|
+
{% for category in site.categories %}
|
9
|
+
{% if category[1].size > categories_max %}
|
10
|
+
{% assign categories_max = category[1].size %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
|
14
|
+
<ul class="taxonomy__index">
|
15
|
+
{% for i in (1..categories_max) reversed %}
|
16
|
+
{% for category in site.categories %}
|
17
|
+
{% if category[1].size == i %}
|
18
|
+
<li>
|
19
|
+
<a href="#{{ category[0] | slugify }}">
|
20
|
+
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
{% endif %}
|
24
|
+
{% endfor %}
|
25
|
+
{% endfor %}
|
26
|
+
</ul>
|
27
|
+
|
28
|
+
{% for i in (1..categories_max) reversed %}
|
29
|
+
{% for category in site.categories %}
|
30
|
+
{% if category[1].size == i %}
|
31
|
+
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
32
|
+
<h2 class="archive__subtitle">{{ category[0] }}</h2>
|
33
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
34
|
+
{% for post in category.last %}
|
35
|
+
{% include archive-single.html type=page.entries_layout %}
|
36
|
+
{% endfor %}
|
37
|
+
</div>
|
38
|
+
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
39
|
+
</section>
|
40
|
+
{% endif %}
|
41
|
+
{% endfor %}
|
42
|
+
{% endfor %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.0.2
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
<!doctype html>
|
5
|
+
<!--
|
6
|
+
Minimal Mistakes Jekyll Theme 4.12.0 by Michael Rose
|
7
|
+
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
8
|
+
Free for personal and commercial use under the MIT license
|
9
|
+
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
10
|
+
-->
|
11
|
+
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
12
|
+
<head>
|
13
|
+
{% include head.html %}
|
14
|
+
{% include head/custom.html %}
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
18
|
+
|
19
|
+
{% include browser-upgrade.html %}
|
20
|
+
{% include masthead.html %}
|
21
|
+
|
22
|
+
<div class="initial-content">
|
23
|
+
{{ content }}
|
24
|
+
</div>
|
25
|
+
|
26
|
+
{% if site.search == true %}
|
27
|
+
<div class="search-content">
|
28
|
+
{% include search/search_form.html %}
|
29
|
+
</div>
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
<div class="page__footer">
|
33
|
+
<footer>
|
34
|
+
{% include footer/custom.html %}
|
35
|
+
{% include footer.html %}
|
36
|
+
</footer>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
{% include scripts.html %}
|
40
|
+
|
41
|
+
</body>
|
42
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
6
|
+
|
7
|
+
{% for post in paginator.posts %}
|
8
|
+
{% include archive-single.html %}
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
{% include paginator.html %}
|
data/_layouts/posts.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: archive
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<ul class="taxonomy__index">
|
8
|
+
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
9
|
+
{% for year in postsInYear %}
|
10
|
+
<li>
|
11
|
+
<a href="#{{ year.name }}">
|
12
|
+
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
|
13
|
+
</a>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
|
18
|
+
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
19
|
+
{% for year in postsByYear %}
|
20
|
+
<section id="{{ year.name }}" class="taxonomy__section">
|
21
|
+
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
22
|
+
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
23
|
+
{% for post in year.items %}
|
24
|
+
{% include archive-single.html type=page.entries_layout %}
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
28
|
+
</section>
|
29
|
+
{% endfor %}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
10
|
+
{% unless paginator %}
|
11
|
+
{% include breadcrumbs.html %}
|
12
|
+
{% endunless %}
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<div id="main" role="main">
|
16
|
+
{% include sidebar.html %}
|
17
|
+
|
18
|
+
<div class="archive">
|
19
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
20
|
+
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
21
|
+
{% endunless %}
|
22
|
+
|
23
|
+
{{ content }}
|
24
|
+
|
25
|
+
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
26
|
+
{%- case search_provider -%}
|
27
|
+
{%- when "lunr" -%}
|
28
|
+
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
29
|
+
<div id="results" class="results"></div>
|
30
|
+
{%- when "google" -%}
|
31
|
+
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
32
|
+
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
33
|
+
</form>
|
34
|
+
<div id="results" class="results">
|
35
|
+
<gcse:searchresults-only></gcse:searchresults-only>
|
36
|
+
</div>
|
37
|
+
{%- when "algolia" -%}
|
38
|
+
<div class="search-searchbar"></div>
|
39
|
+
<div class="search-hits"></div>
|
40
|
+
{%- endcase -%}
|
41
|
+
</div>
|
42
|
+
</div>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% if page.url != "/" and site.breadcrumbs %}
|
12
|
+
{% unless paginator %}
|
13
|
+
{% include breadcrumbs.html %}
|
14
|
+
{% endunless %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div id="main" role="main">
|
18
|
+
{% include sidebar.html %}
|
19
|
+
|
20
|
+
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
21
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
22
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
23
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
24
|
+
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
25
|
+
|
26
|
+
<div class="page__inner-wrap">
|
27
|
+
{% unless page.header.overlay_color or page.header.overlay_image %}
|
28
|
+
<header>
|
29
|
+
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
30
|
+
{% if page.read_time %}
|
31
|
+
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
32
|
+
{% endif %}
|
33
|
+
</header>
|
34
|
+
{% endunless %}
|
35
|
+
|
36
|
+
<section class="page__content" itemprop="text">
|
37
|
+
{% if page.toc %}
|
38
|
+
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
39
|
+
<nav class="toc">
|
40
|
+
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
41
|
+
{% include toc.html sanitize=true html=content h_min=2 h_max=3 class="toc__menu" %}
|
42
|
+
</nav>
|
43
|
+
</aside>
|
44
|
+
{% endif %}
|
45
|
+
{{ content }}
|
46
|
+
{% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
47
|
+
</section>
|
48
|
+
|
49
|
+
<footer class="page__meta">
|
50
|
+
{% if site.data.ui-text[site.locale].meta_label %}
|
51
|
+
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
52
|
+
{% endif %}
|
53
|
+
{% include page__taxonomy.html %}
|
54
|
+
{% if page.last_modified_at %}
|
55
|
+
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
|
56
|
+
{% elsif page.date %}
|
57
|
+
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
58
|
+
{% endif %}
|
59
|
+
</footer>
|
60
|
+
|
61
|
+
{% if page.share %}{% include social-share.html %}{% endif %}
|
62
|
+
|
63
|
+
{% include post_pagination.html %}
|
64
|
+
</div>
|
65
|
+
|
66
|
+
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
67
|
+
{% include comments.html %}
|
68
|
+
{% endif %}
|
69
|
+
</article>
|
70
|
+
|
71
|
+
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
72
|
+
{% if page.id and page.related and site.related_posts.size > 0 %}
|
73
|
+
<div class="page__related">
|
74
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
75
|
+
<div class="grid__wrapper">
|
76
|
+
{% for post in site.related_posts limit:4 %}
|
77
|
+
{% include archive-single.html type="grid" %}
|
78
|
+
{% endfor %}
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
82
|
+
{% elsif page.id and page.related %}
|
83
|
+
<div class="page__related">
|
84
|
+
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
85
|
+
<div class="grid__wrapper">
|
86
|
+
{% for post in site.posts limit:4 %}
|
87
|
+
{% include archive-single.html type="grid" %}
|
88
|
+
{% endfor %}
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
{% endif %}
|
92
|
+
</div>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
6
|
+
{% include page__hero.html %}
|
7
|
+
{% elsif page.header.video.id and page.header.video.provider %}
|
8
|
+
{% include page__hero_video.html %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
<div id="main" role="main">
|
12
|
+
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
|
13
|
+
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
14
|
+
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
15
|
+
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
16
|
+
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
17
|
+
|
18
|
+
<section class="page__content" itemprop="text">
|
19
|
+
{{ content }}
|
20
|
+
</section>
|
21
|
+
</article>
|
22
|
+
</div>
|