jekyll-yamt 1.0.0 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +23 -21
- data/README.md +20 -9
- data/_includes/analytics.html +9 -9
- data/_includes/categories.html +10 -13
- data/_includes/comments.html +10 -0
- data/_includes/footer.html +3 -3
- data/_includes/gif.html +4 -0
- data/_includes/head.html +37 -37
- data/_includes/header.html +24 -24
- data/_includes/pages.html +2 -2
- data/_includes/reading_time.html +20 -20
- data/_includes/related-posts.html +35 -35
- data/_includes/social.html +7 -7
- data/_layouts/archive.html +15 -15
- data/_layouts/categories.html +21 -0
- data/_layouts/contact.html +16 -16
- data/_layouts/default.html +18 -18
- data/_layouts/home.html +52 -45
- data/_layouts/page.html +5 -5
- data/_layouts/post.html +45 -45
- data/_sass/base.scss +112 -127
- data/_sass/contact.scss +38 -49
- data/_sass/footer.scss +23 -23
- data/_sass/header.scss +102 -103
- data/_sass/home.scss +35 -36
- data/_sass/mobile.scss +51 -51
- data/_sass/paginator.scss +35 -35
- data/_sass/post.scss +78 -78
- data/_sass/related-posts.scss +22 -22
- data/_sass/scrollbar.scss +16 -16
- data/_sass/typography-old.scss +47 -0
- data/_sass/typography.scss +38 -41
- data/assets/css/main.scss +4 -4
- data/assets/css/syntax.scss +262 -258
- data/assets/img/logo.jpg +0 -0
- data/assets/img/screenshots/Screenshot.png +0 -0
- data/assets/img/screenshots/Screenshot_code_highlight.png +0 -0
- data/assets/img/screenshots/Screenshot_minimal.png +0 -0
- data/assets/img/screenshots/Screenshot_mobile.png +0 -0
- metadata +13 -13
- data/_includes/disqus.html +0 -19
- data/_sass/archive.scss +0 -10
- data/assets/css/main.css +0 -1
- data/assets/css/syntax.css +0 -1
data/_includes/social.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
{% for item in site.data.social.social %}
|
2
|
-
{% if item.type == "brand"%}
|
3
|
-
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
|
4
|
-
{% endif %}
|
5
|
-
{% if item.type == "solid"%}
|
6
|
-
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
|
7
|
-
{% endif %}
|
1
|
+
{% for item in site.data.social.social %}
|
2
|
+
{% if item.type == "brand"%}
|
3
|
+
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
|
4
|
+
{% endif %}
|
5
|
+
{% if item.type == "solid"%}
|
6
|
+
<a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
|
7
|
+
{% endif %}
|
8
8
|
{% endfor %}
|
data/_layouts/archive.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Archive
|
4
|
-
---
|
5
|
-
|
6
|
-
{% assign postsByDate =
|
7
|
-
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
-
{% for year in postsByDate %}
|
9
|
-
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</
|
10
|
-
<ul>
|
11
|
-
{% for post in year.items %}
|
12
|
-
<li><a class = "archive-link" href="{{ post.url }}">{{ post.title }}</a></li>
|
13
|
-
{% endfor %}
|
14
|
-
</ul>
|
15
|
-
{% endfor %}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Archive
|
4
|
+
---
|
5
|
+
|
6
|
+
{% assign postsByDate =
|
7
|
+
site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
|
8
|
+
{% for year in postsByDate %}
|
9
|
+
<h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h2>
|
10
|
+
<ul>
|
11
|
+
{% for post in year.items %}
|
12
|
+
<li><a class = "archive-link" href="{{ post.url | relative_url}}">{{ post.title }}</a></li>
|
13
|
+
{% endfor %}
|
14
|
+
</ul>
|
15
|
+
{% endfor %}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
permalink: /categories/
|
4
|
+
title: Categories
|
5
|
+
---
|
6
|
+
|
7
|
+
{% for category in site.categories %}
|
8
|
+
<div class="archive-group">
|
9
|
+
{% capture category_name %}{{ category | first }}{% endcapture %}
|
10
|
+
<div id="#{{ category_name | slugize }}"></div>
|
11
|
+
<p></p>
|
12
|
+
|
13
|
+
<h2 class="archive-cat">{{ category_name }}</h2>
|
14
|
+
<a name="{{ category_name | slugize }}"></a>
|
15
|
+
<ul>
|
16
|
+
{% for post in site.categories[category_name] %}
|
17
|
+
<li><a class="archive-link" href="{{ post.url | relative_url}}">{{post.title}}</a></li>
|
18
|
+
{% endfor %}
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
{% endfor %}
|
data/_layouts/contact.html
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Contact
|
4
|
-
---
|
5
|
-
|
6
|
-
<h2>Contact Form</h2>
|
7
|
-
<div class = "form">
|
8
|
-
<form name = "contact-form" action="/contact-successful.html" method = "POST" data-netlify="true">
|
9
|
-
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
-
|
11
|
-
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
-
|
13
|
-
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
-
|
15
|
-
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
-
</form>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Contact
|
4
|
+
---
|
5
|
+
|
6
|
+
<h2>Contact Form</h2>
|
7
|
+
<div class = "form">
|
8
|
+
<form name = "contact-form" action="{{"/contact-successful.html" | relative_url}}" method = "POST" data-netlify="true">
|
9
|
+
<input class = "form-input" type="text" name="name" id="name" placeholder="Name" required><br>
|
10
|
+
|
11
|
+
<input class = "form-input"type="mail" name="mail" id="mail" placeholder="Email" required><br>
|
12
|
+
|
13
|
+
<textarea class = "form-input" name="message" id="message" cols="30" rows="10" placeholder="Message" required></textarea><br>
|
14
|
+
|
15
|
+
<input class = "form-button" type="submit" value="Submit"><br>
|
16
|
+
</form>
|
17
17
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
{% include head.html %}
|
5
|
-
</head>
|
6
|
-
<body>
|
7
|
-
|
8
|
-
<div class="container">
|
9
|
-
{% include header.html %}
|
10
|
-
|
11
|
-
<div class="post-container">
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
{%- include footer.html -%}
|
17
|
-
</body>
|
18
|
-
</html>
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
{% include head.html %}
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<div class="container">
|
9
|
+
{% include header.html %}
|
10
|
+
|
11
|
+
<div class="post-container">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
</body>
|
18
|
+
</html>
|
data/_layouts/home.html
CHANGED
@@ -1,45 +1,52 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
title: Home
|
4
|
-
---
|
5
|
-
{% for post in paginator.posts %}
|
6
|
-
|
7
|
-
<div class="post">
|
8
|
-
<h2 id = "post-title"><a href="{
|
9
|
-
|
10
|
-
{% if site.data.settings.date-under-post.active %}
|
11
|
-
<div class = "post-info">
|
12
|
-
<span>
|
13
|
-
<i class="far fa-calendar" aria-hidden="true"></i>
|
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
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Home
|
4
|
+
---
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
|
7
|
+
<div class="post">
|
8
|
+
<h2 id = "post-title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
9
|
+
|
10
|
+
{% if site.data.settings.date-under-post.active %}
|
11
|
+
<div class = "post-info">
|
12
|
+
<span>
|
13
|
+
<i class="far fa-calendar" aria-hidden="true"></i>
|
14
|
+
<time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">{{ post.date | date_to_string }}</time> - <i class="far fa-clock"></i>
|
15
|
+
{% include reading_time.html %}
|
16
|
+
</span>
|
17
|
+
</div>
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if site.data.settings.featured-img.active %}
|
21
|
+
<div class = "featured-img-container">
|
22
|
+
{% if post.image %}
|
23
|
+
<a href="{{ post.url | relative_url }}"><img src="{{ post.image | relative_url }}"/></a>
|
24
|
+
{% endif %}
|
25
|
+
{% if post.gif %}
|
26
|
+
<a href="{{ post.url | relative_url }}">{% include gif.html file = post.gif %}</a>
|
27
|
+
{% endif %}
|
28
|
+
</div>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
<p>
|
32
|
+
{% if post.customexcerpt %}
|
33
|
+
{{post.customexcerpt | strip_html | truncatewords:50}}
|
34
|
+
{% else %}
|
35
|
+
{{ post.content | strip_html | truncatewords:50 }}
|
36
|
+
{% endif %}
|
37
|
+
<span class = "continue-reading"><a href="{{ post.url | relative_url }}">Continue reading...</a></span>
|
38
|
+
</p>
|
39
|
+
</div>
|
40
|
+
{% endfor %}
|
41
|
+
|
42
|
+
<!-- Pagination links -->
|
43
|
+
<div class = "paginator">
|
44
|
+
{% if paginator.total_pages > 1 %}
|
45
|
+
{% if paginator.next_page %}
|
46
|
+
<a class = "older paginate-button" href="{{ paginator.next_page_path | relative_url }}">Older Posts</a>
|
47
|
+
{% endif %}
|
48
|
+
{% if paginator.previous_page %}
|
49
|
+
<a class = "newer paginate-button" href="{{ paginator.previous_page_path | relative_url }}">Newer Posts</a>
|
50
|
+
{% endif %}
|
51
|
+
{% endif %}
|
52
|
+
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
data/_layouts/post.html
CHANGED
@@ -1,45 +1,45 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
{% include head.html %}
|
5
|
-
</head>
|
6
|
-
|
7
|
-
<body>
|
8
|
-
|
9
|
-
<div class="container">
|
10
|
-
{% include header.html %}
|
11
|
-
|
12
|
-
<div class="post-container">
|
13
|
-
<article id = "post">
|
14
|
-
<h2 id = "post-title">{{ page.title }}</h2>
|
15
|
-
|
16
|
-
{% if site.data.settings.date-under-post.active %}
|
17
|
-
<div class = "post-info">
|
18
|
-
<span>
|
19
|
-
<i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
20
|
-
</span>
|
21
|
-
</div>
|
22
|
-
{% endif %}
|
23
|
-
{{ content }}
|
24
|
-
</article>
|
25
|
-
</div>
|
26
|
-
{% if site.data.settings.categories.active %}
|
27
|
-
{% include categories.html %}
|
28
|
-
{% endif %}
|
29
|
-
|
30
|
-
{% if site.data.settings.related-posts.active %}
|
31
|
-
{% include related-posts.html %}
|
32
|
-
{% endif %}
|
33
|
-
|
34
|
-
{% if site.data.settings.
|
35
|
-
{% include
|
36
|
-
{% endif %}
|
37
|
-
</div>
|
38
|
-
|
39
|
-
{%- include footer.html -%}
|
40
|
-
|
41
|
-
{% if site.data.settings.mathjax.active %}
|
42
|
-
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
43
|
-
{% endif %}
|
44
|
-
</body>
|
45
|
-
</html>
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
{% include head.html %}
|
5
|
+
</head>
|
6
|
+
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<div class="container">
|
10
|
+
{% include header.html %}
|
11
|
+
|
12
|
+
<div class="post-container">
|
13
|
+
<article id = "post">
|
14
|
+
<h2 id = "post-title">{{ page.title }}</h2>
|
15
|
+
|
16
|
+
{% if site.data.settings.date-under-post.active %}
|
17
|
+
<div class = "post-info">
|
18
|
+
<span>
|
19
|
+
<i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
20
|
+
</span>
|
21
|
+
</div>
|
22
|
+
{% endif %}
|
23
|
+
{{ content }}
|
24
|
+
</article>
|
25
|
+
</div>
|
26
|
+
{% if site.data.settings.categories.active %}
|
27
|
+
{% include categories.html %}
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if site.data.settings.related-posts.active %}
|
31
|
+
{% include related-posts.html %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
{% if site.data.settings.comments %}
|
35
|
+
{% include comments.html %}
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
|
39
|
+
{%- include footer.html -%}
|
40
|
+
|
41
|
+
{% if site.data.settings.mathjax.active %}
|
42
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
43
|
+
{% endif %}
|
44
|
+
</body>
|
45
|
+
</html>
|
data/_sass/base.scss
CHANGED
@@ -1,127 +1,112 @@
|
|
1
|
-
//Colors
|
2
|
-
$base: #a2a2a2;
|
3
|
-
$light-grey: #ebebeb;
|
4
|
-
|
5
|
-
* {
|
6
|
-
-webkit-box-sizing: border-box;
|
7
|
-
-moz-box-sizing: border-box;
|
8
|
-
box-sizing: border-box;
|
9
|
-
}
|
10
|
-
html{
|
11
|
-
scroll-behavior: smooth;
|
12
|
-
}
|
13
|
-
.container {
|
14
|
-
margin-left: auto;
|
15
|
-
margin-right: auto;
|
16
|
-
width: 700px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.task-list{
|
20
|
-
list-style: none;
|
21
|
-
}
|
22
|
-
|
23
|
-
//
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
color:
|
44
|
-
|
45
|
-
}
|
46
|
-
//End
|
47
|
-
|
48
|
-
//
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
//
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
}
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
line-height: 25px;
|
114
|
-
li{
|
115
|
-
a{
|
116
|
-
font-family: 'PT Serif', serif;
|
117
|
-
text-decoration: none;
|
118
|
-
}
|
119
|
-
a:hover{
|
120
|
-
font-style: italic;
|
121
|
-
}
|
122
|
-
}
|
123
|
-
ul{
|
124
|
-
list-style: disc;
|
125
|
-
}
|
126
|
-
}
|
127
|
-
//End ToC
|
1
|
+
//Colors
|
2
|
+
$base: #a2a2a2;
|
3
|
+
$light-grey: #ebebeb;
|
4
|
+
|
5
|
+
* {
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
html{
|
11
|
+
scroll-behavior: smooth;
|
12
|
+
}
|
13
|
+
.container {
|
14
|
+
margin-left: auto;
|
15
|
+
margin-right: auto;
|
16
|
+
width: 700px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.task-list{
|
20
|
+
list-style: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
//Alerts
|
24
|
+
.alert{
|
25
|
+
padding: 20px;
|
26
|
+
border-radius: 0 4px 4px 0;
|
27
|
+
color: #fff;
|
28
|
+
display: block;
|
29
|
+
font-size: larger;
|
30
|
+
}
|
31
|
+
|
32
|
+
.y{
|
33
|
+
background-color: #f3b244;
|
34
|
+
border-left: 7px solid #dc900e;
|
35
|
+
}
|
36
|
+
|
37
|
+
.g{
|
38
|
+
background-color: #60c17d;
|
39
|
+
border-left: 7px solid #55ab6f;
|
40
|
+
}
|
41
|
+
|
42
|
+
.r{
|
43
|
+
background-color: #e45454;
|
44
|
+
border-left: 7px solid #cb2020;
|
45
|
+
}
|
46
|
+
//End Alerts
|
47
|
+
|
48
|
+
//Blockquote
|
49
|
+
blockquote {
|
50
|
+
border-left: .25em solid #dfe2e5;
|
51
|
+
color: #6a737d;
|
52
|
+
padding: 0 1em;
|
53
|
+
cite{
|
54
|
+
display: inline-block;
|
55
|
+
margin-top: 50px;
|
56
|
+
cite::before{
|
57
|
+
content: "- ";
|
58
|
+
margin-left: 10px;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
//End Blockquote
|
63
|
+
|
64
|
+
//MathJAX
|
65
|
+
.MathJax_Display{
|
66
|
+
.MathJax {
|
67
|
+
font-size: 1.2rem;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
//End MathJAX
|
71
|
+
|
72
|
+
//ToC
|
73
|
+
#markdown-toc::before {
|
74
|
+
content: "Contents";
|
75
|
+
font-size: 1.1rem;
|
76
|
+
font-weight: bold;
|
77
|
+
}
|
78
|
+
|
79
|
+
#markdown-toc {
|
80
|
+
border: 1px solid #aaa;
|
81
|
+
border-radius: 10px;
|
82
|
+
padding: 1.5em;
|
83
|
+
list-style: disc;
|
84
|
+
display: inline-block;
|
85
|
+
background-color: $light-grey;
|
86
|
+
line-height: 25px;
|
87
|
+
li{
|
88
|
+
a{
|
89
|
+
text-decoration: none;
|
90
|
+
}
|
91
|
+
a:hover{
|
92
|
+
font-style: italic;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
ul{
|
96
|
+
list-style: disc;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
//End ToC
|
100
|
+
|
101
|
+
//Archive
|
102
|
+
.archive-link{
|
103
|
+
text-decoration: none;
|
104
|
+
color: black;
|
105
|
+
font-style: italic;
|
106
|
+
font-size: 1.5rem;
|
107
|
+
}
|
108
|
+
|
109
|
+
.archive-link:hover{
|
110
|
+
text-decoration: underline;
|
111
|
+
}
|
112
|
+
//End Archive
|