minimal-jekyll-theme 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/LICENSE.txt +7 -2
- data/README.md +11 -1
- data/_includes/author_bio.html +2 -2
- data/_includes/header.html +2 -2
- data/_includes/navigation.html +2 -2
- data/_includes/post_meta.html +4 -4
- data/_layouts/archive.html +2 -2
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +2 -2
- data/_sass/_theme.scss +9 -6
- data/_sass/_variables.scss +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf903889c13c823da14ff855cca0056c8ecafd2
|
4
|
+
data.tar.gz: 80e8c045858dd53a290d2c22efb8a182c616fe0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b458a965a6d61c70236a907b4849966d29e6fd184152f6ff4b29e60df81facdebf1dc000fa22b6f2019f96cdf0a23f5f91ee3705992a35184e5a17a6eb6883
|
7
|
+
data.tar.gz: 99dae479a62c099b75014442f0776ef0ce25b77c957073bd2e75fa536f2e8aca76e419009d889fd20c0be45621bb784728211f90b6dc9d94f55b5ff9addd440d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
+
## 03-10-2017
|
2
|
+
- Added line height to hero cta.
|
3
|
+
- Added `<time>` tags to post_meta, archive page and archive layout.
|
4
|
+
- Shell commands now include "$" symbol.
|
5
|
+
- Changed light button hover text to black for improved visability.
|
6
|
+
- Improved the readability of the theme.
|
7
|
+
|
8
|
+
## 29-09-2017
|
9
|
+
- MIT Licence
|
10
|
+
|
1
11
|
## 25-09-2017
|
2
|
-
- Released theme version 0.
|
12
|
+
- Released theme version 0.2.0
|
3
13
|
|
4
14
|
## 22-09-2017
|
5
15
|
- Updated mark tag color in `_variables.scss`.
|
data/LICENSE.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
|
2
|
+
The MIT License (MIT)
|
3
|
+
|
2
4
|
Copyright (c) 2017 Desired Persona
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
7
|
+
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
9
|
+
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Minimal Jekyll Theme
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/minimal-jekyll-theme.svg)](https://badge.fury.io/rb/minimal-jekyll-theme)
|
4
|
+
|
3
5
|
## [Theme demo](https://desiredpersona.github.io/minimal-jekyll-theme/)
|
4
6
|
|
5
7
|
Subscribe to my [newsletter for more themes](https://desiredpersona.com/themes/).
|
@@ -65,7 +67,15 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/desir
|
|
65
67
|
|
66
68
|
## License
|
67
69
|
|
68
|
-
The
|
70
|
+
The MIT License (MIT)
|
71
|
+
|
72
|
+
Copyright (c) 2017 Desired Persona
|
73
|
+
|
74
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
75
|
+
|
76
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
77
|
+
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
69
79
|
|
70
80
|
#### TLDR:
|
71
81
|
This theme is free to use for personal and/or commercial sites once you do not remove the attribution link from the themes footer.
|
data/_includes/author_bio.html
CHANGED
@@ -18,9 +18,9 @@
|
|
18
18
|
<div class="flex flex-column w-90 w-80-ns pl2 pl3-ns">
|
19
19
|
<div class="flex items-center-ns">
|
20
20
|
{% if author.url contains "://" %}
|
21
|
-
<a class="f5 f4-ns fw4 lh-title black hover-black link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
21
|
+
<a class="f5 f4-ns fw4 lh-title black-80 hover-black-80 link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
22
22
|
{% else %}
|
23
|
-
<a class="f5 f4-ns fw4 lh-title black hover-black link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
23
|
+
<a class="f5 f4-ns fw4 lh-title black-80 hover-black-80 link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
24
24
|
{% endif %}
|
25
25
|
|
26
26
|
{% if author.cta_url contains "://" %}
|
data/_includes/header.html
CHANGED
@@ -19,9 +19,9 @@
|
|
19
19
|
{% endif %}
|
20
20
|
|
21
21
|
{% if page.header.cta.url contains "://" %}
|
22
|
-
<a class="f5 f4-ns {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url }}" target="_blank" rel="nofollow">{{ page.header.cta.text }}</a>
|
22
|
+
<a class="f5 f4-ns lh-copy {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url }}" target="_blank" rel="nofollow">{{ page.header.cta.text }}</a>
|
23
23
|
{% elsif page.header.cta.url %}
|
24
|
-
<a class="f5 f4-ns {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url | absolute_url }}">{{ page.header.cta.text }}</a>
|
24
|
+
<a class="f5 f4-ns lh-copy {{ page.header.cta.class | join: ' ' | prepend: ' ' }}" href="{{ page.header.cta.url | absolute_url }}">{{ page.header.cta.text }}</a>
|
25
25
|
{% endif %}
|
26
26
|
</div>
|
27
27
|
</div>
|
data/_includes/navigation.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{% if page.header.navigation == 'fancy' %}
|
3
3
|
<a class="white hover-white dim link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
4
4
|
{% else %}
|
5
|
-
<a class="black hover-black link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
5
|
+
<a class="black-80 hover-black-80 link f2 f3-l fw4 mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
6
6
|
{% endif %}
|
7
7
|
|
8
8
|
<div class="flex-l items-center mt3 mt0-l">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
{% else %}
|
16
16
|
{% assign domain = site.url | append: site.baseurl %}
|
17
17
|
{% endif %}
|
18
|
-
<a href="{{ domain }}{{ link.url }}" class="{% if page.header.navigation == 'fancy' %}white hover-white dim{% else %}black hover-black{% endif %} link f4 f5-l fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
|
18
|
+
<a href="{{ domain }}{{ link.url }}" class="{% if page.header.navigation == 'fancy' %}white hover-white dim{% else %}black-80 hover-black-80{% endif %} link f4 f5-l fw3 mr3 mt2" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a>
|
19
19
|
{% endfor %}
|
20
20
|
</nav>
|
21
21
|
</div>
|
data/_includes/post_meta.html
CHANGED
@@ -19,9 +19,9 @@
|
|
19
19
|
<div class="flex flex-column w-90 w-80-ns pl2 pl3-ns">
|
20
20
|
<div class="flex items-center">
|
21
21
|
{% if author.url contains "://" %}
|
22
|
-
<a class="f5 fw4 lh-title black hover-black link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
22
|
+
<a class="f5 fw4 lh-title black-80 hover-black-80 link mr2" href="{{ author.url }}" target="_blank">{{ author.name }}</a>
|
23
23
|
{% else %}
|
24
|
-
<a class="f5 fw4 lh-title black hover-black link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
24
|
+
<a class="f5 fw4 lh-title black-80 hover-black-80 link mr2" href="{{ author.url | relative_url }}">{{ author.name }}</a>
|
25
25
|
{% endif %}
|
26
26
|
|
27
27
|
{% if author.cta_url contains "://" %}
|
@@ -35,9 +35,9 @@
|
|
35
35
|
|
36
36
|
<div class="f6 fw3 lh-copy silver">
|
37
37
|
{% if page.last_modified_at %}
|
38
|
-
<span>{{ site.data.theme.text.updated }} {{ page.last_modified_at | date: site.date_format }}</span>
|
38
|
+
<span>{{ site.data.theme.text.updated }} <time>{{ page.last_modified_at | date: site.date_format }}</time></span>
|
39
39
|
{% else %}
|
40
|
-
<span>{{ page.date | date: site.date_format }}</span>
|
40
|
+
<span><time>{{ page.date | date: site.date_format }}</time></span>
|
41
41
|
{% endif %}
|
42
42
|
|
43
43
|
<span class="ttl"> ·
|
data/_layouts/archive.html
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
<h1 class="f5 fw4 lh-title mb0 pb2 bb b--light-gray">{% if page.type == 'year' %}Posts from {{ page.date | date: "%Y" }}{% elsif page.type == 'month' %}Posts from {{ page.date | date: "%B %Y" }}{% elsif page.type == 'day' %}Posts from {{ page.date | date: site.date_format }}{% else %}Posts with {{ page.type }} '{{ page.title }}'{% endif %}</h1>
|
9
9
|
|
10
10
|
{% for post in page.posts %}
|
11
|
-
<a class="link black hover-silver" href="{{ post.url | relative_url }}">
|
11
|
+
<a class="link black-80 hover-silver" href="{{ post.url | relative_url }}">
|
12
12
|
<article class="f5 lh-copy fw3 pb4 bb b--light-gray">
|
13
|
-
<div class="f6 fw6 lh-title ttu tracked mv4">{{ post.date | date: "%b %Y" }}</div>
|
13
|
+
<div class="f6 fw6 lh-title ttu tracked mv4"><time>{{ post.date | date: "%b %Y" }}</time></div>
|
14
14
|
<h3 class="f3 fw6 lh-title mb0">{{ post.title | escape }}</h3>
|
15
15
|
<p class="f5 fw3 lh-copy mv2">{{ post.excerpt | remove: '<p>' | remove: '</p>' }}</p>
|
16
16
|
|
data/_layouts/default.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang }}">
|
3
3
|
{% include head.html %}
|
4
|
-
<body class="black-
|
4
|
+
<body class="black-80 {% if page.class or layout.class %}{{ page.class | default: layout.class | join: ' ' | prepend: ' ' }}{% endif %}">
|
5
5
|
|
6
6
|
{% if page.header != false %}
|
7
7
|
{% include header.html %}
|
data/_layouts/home.html
CHANGED
@@ -7,7 +7,7 @@ layout: default
|
|
7
7
|
<h3 class="f5 f4-ns fw3 mb0 pb2 bb b--light-gray">{{ site.data.theme.text.latest_articles | default: "Recent Posts" }}</h3>
|
8
8
|
|
9
9
|
{% for post in site.posts limit: site.data.theme.text.post_limit %}
|
10
|
-
<a class="link black hover-silver" href="{{ post.url | relative_url }}">
|
10
|
+
<a class="link black-80 hover-silver" href="{{ post.url | relative_url }}">
|
11
11
|
<article class="post pv4 bb b--light-gray">
|
12
12
|
<div class="f5 fw3 silver lh-copy">
|
13
13
|
{% if post.last_modified_at %}
|
@@ -24,7 +24,7 @@ layout: default
|
|
24
24
|
</a>
|
25
25
|
{% endfor %}
|
26
26
|
<div class="inline-flex">
|
27
|
-
<a class="f5 f4-ns fw3 link black hover-silver ba br2 bw1 mv4 pv2 ph3" href="{{ site.data.theme.text.full_archive_url | relative_url }}">{{ site.data.theme.text.full_archive | default: "All Posts" }}</a>
|
27
|
+
<a class="f5 f4-ns fw3 link black-80 hover-silver ba br2 bw1 mv4 pv2 ph3" href="{{ site.data.theme.text.full_archive_url | relative_url }}">{{ site.data.theme.text.full_archive | default: "All Posts" }}</a>
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
</section>
|
data/_sass/_theme.scss
CHANGED
@@ -177,7 +177,7 @@ a.nested-author-cta {
|
|
177
177
|
border: .125rem solid $btn-light;
|
178
178
|
|
179
179
|
&:hover {
|
180
|
-
color: $
|
180
|
+
color: $black;
|
181
181
|
background-color: $btn-light;
|
182
182
|
}
|
183
183
|
}
|
@@ -411,17 +411,20 @@ p > code {
|
|
411
411
|
user-select: none;
|
412
412
|
}
|
413
413
|
|
414
|
-
.lineno
|
414
|
+
.lineno {
|
415
415
|
@include unselectable();
|
416
416
|
color: $linenos-color;
|
417
417
|
}
|
418
418
|
|
419
|
-
.
|
420
|
-
|
419
|
+
.language-shell::before {
|
420
|
+
@include unselectable();
|
421
|
+
content: "$";
|
422
|
+
color: $linenos-color;
|
423
|
+
padding-right: .5rem;
|
421
424
|
}
|
422
425
|
|
423
|
-
.
|
424
|
-
padding
|
426
|
+
.lineno {
|
427
|
+
padding: 0;
|
425
428
|
}
|
426
429
|
|
427
430
|
// Syntax highlighting
|
data/_sass/_variables.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimal-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Desired Persona
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -190,7 +190,7 @@ files:
|
|
190
190
|
- assets/css/minimal.scss
|
191
191
|
homepage: https://desiredpersona.com/themes/
|
192
192
|
licenses:
|
193
|
-
-
|
193
|
+
- MIT
|
194
194
|
metadata:
|
195
195
|
plugin_type: theme
|
196
196
|
post_install_message:
|