minimal-jekyll-theme 0.1.2 → 0.1.3
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/CHANGELOG.md +47 -0
- data/README.md +15 -6
- data/_includes/footer.html +1 -1
- data/_includes/header.html +10 -7
- data/_includes/navigation.html +1 -1
- data/_layouts/home.html +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/_tachyons-background-overlays.scss +44 -0
- data/_sass/_variables.scss +0 -1
- data/assets/css/minimal.scss +1 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e869f1fea59306735c29695128388e293f1e94a8
|
4
|
+
data.tar.gz: f31486031cea1eb07fc8f13f6696367251a94b10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6869e07f66096eeab6d4c381b2e0f9513410a82e70578e76803757f3a063c9bd8b11fc59c045f11c8d005cd807a267eaf98244eaf2a82046f75a5a450cf4f66
|
7
|
+
data.tar.gz: 6630ae0396312b5c8b587ae18d881dbd219eda97e198bc96b202dfd9f970906ce60acafab57aca9f5e7f9fad31091c3f7e4662e5780b1923f1a7b4f12ea55fa4
|
data/CHANGELOG.md
CHANGED
@@ -1 +1,48 @@
|
|
1
|
+
## 09-07-2017
|
2
|
+
- Released theme version 0.1.3
|
3
|
+
- Improved header hero padding on mobile.
|
4
|
+
- Updated about.md with theme intro that showcases post layouts.
|
5
|
+
- Update attribution link description.
|
1
6
|
|
7
|
+
## 08-07-2017
|
8
|
+
- Added notices documentation.
|
9
|
+
- Added buttons documentation.
|
10
|
+
|
11
|
+
## 02-07-2017
|
12
|
+
- Added paragraph option to header hero
|
13
|
+
|
14
|
+
## 27-06-2017
|
15
|
+
- Improved header vertical padding on mobile.
|
16
|
+
- Updated footer attribution link.
|
17
|
+
- Updated demo gemfile to Jekyll 3.5.0
|
18
|
+
- Updated README.md to recommend using Jekyll 3.5.0 or higher. Reasons: gems are now officially called plugins.
|
19
|
+
- Removed padding(pr3) from navigation on mobile view.
|
20
|
+
|
21
|
+
## 26-06-2017
|
22
|
+
- Added tachyons-background-overlays.scss
|
23
|
+
- Replace vh-50 with vh-50-m on hero layout to allow header to expand if necessary to fit text and cta on mobile.
|
24
|
+
- Updated archive layout to use flexbox.
|
25
|
+
- Update default theme button design.
|
26
|
+
|
27
|
+
## 21-06-2017
|
28
|
+
- Updated install documentation.
|
29
|
+
|
30
|
+
## 18-06-2017
|
31
|
+
- Changed default buttons to Pill shape to match new design.
|
32
|
+
|
33
|
+
## 17-06-2017
|
34
|
+
- Added author documentation.
|
35
|
+
|
36
|
+
## 16-06-2017
|
37
|
+
- Released theme version 0.1.2
|
38
|
+
- Update theme gemspec.
|
39
|
+
- Set theme `_config` to `port:4000`.
|
40
|
+
- Changed example demo `_config` to `port:5000` so you can view the theme demos while also using the theme on your site.
|
41
|
+
|
42
|
+
## 15-06-2017
|
43
|
+
- Fix archive url in `home.html`.
|
44
|
+
- Remove old post layout.
|
45
|
+
|
46
|
+
## 14-06-2017
|
47
|
+
- Released theme version 0.1.1
|
48
|
+
- Redesign.
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Minimal Jekyll Theme
|
2
2
|
|
3
|
-
|
3
|
+
Subscribe to my [newsletter for more themes](https://desiredpersona.com/themes/).
|
4
4
|
|
5
|
-
## Homepage Layout
|
5
|
+
## Homepage Layout
|
6
6
|

|
7
7
|
|
8
8
|
## Post Layout With Hero Image And Call-To-Action
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
## Features
|
16
16
|
|
17
|
-
- Compatible with Jekyll 3.
|
17
|
+
- Compatible with Jekyll 3.5.x and GitHub Pages.
|
18
18
|
- Support for Jekyll's built-in Sass/SCSS preprocessor.
|
19
19
|
- Built with [Tachyons-sass](https://github.com/tachyons-css/tachyons-sass).
|
20
20
|
- Several layout options (one-column pages, two-column pages, posts, archive, landing pages).
|
@@ -27,12 +27,12 @@
|
|
27
27
|
|
28
28
|
## Installation
|
29
29
|
|
30
|
-
Please read the [theme documentation](https://github.com/desiredpersona/minimal-jekyll-theme/tree/master/
|
30
|
+
Please read the [theme documentation](https://github.com/desiredpersona/minimal-jekyll-theme/tree/master/docs/_docs).
|
31
31
|
|
32
32
|
|
33
33
|
## Credits
|
34
34
|
|
35
|
-
|
35
|
+
#### Creator
|
36
36
|
|
37
37
|
Desired Persona
|
38
38
|
|
@@ -40,10 +40,12 @@ Desired Persona
|
|
40
40
|
- <https://twitter.com/desiredpersona>
|
41
41
|
- <https://github.com/desiredpersona>
|
42
42
|
|
43
|
-
|
43
|
+
#### Thanks
|
44
44
|
|
45
45
|
- [Jekyll](http://jekyllrb.com)
|
46
46
|
- [Tachyons](http://tachyons.io)
|
47
|
+
- [Tachyons Background Overlays by Alec Lomas](https://github.com/lowmess/tachyons-background-overlays)
|
48
|
+
- [SVG Icons by Matthew Skiles](https://dribbble.com/shots/1925069-Lynny-Icon-Set-Free)
|
47
49
|
|
48
50
|
## Contributing
|
49
51
|
|
@@ -52,3 +54,10 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/desir
|
|
52
54
|
## License
|
53
55
|
|
54
56
|
The theme is available as open source under the terms of the [Creative Commons Attribution 4.0 (CC-BY-4.0)](https://creativecommons.org/licenses/by/4.0/).
|
57
|
+
|
58
|
+
#### TLDR:
|
59
|
+
This theme is free to use for personal and/or commercial sites once you do not remove the attribution link from the themes footer.
|
60
|
+
|
61
|
+
#### Remove Attribution Link (optional):
|
62
|
+
If you would like to remove the attribution link from the themes footer for personal and/or commercial sites set `attribution: false` in your theme.yml file and [purchase a theme licence.](https://desiredpersona.com/themes/)
|
63
|
+
|
data/_includes/footer.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
{% endif %}
|
15
15
|
|
16
16
|
{% if site.data.theme.attribution == true %}
|
17
|
-
<span class="f7 fw3 light-silver mr3">Designed with <a href="https://desiredpersona.com/themes/" class="f7 fw3 light-silver link underline-hover mr3" target="_blank">Minimal</a></span>
|
17
|
+
<span class="f7 fw3 light-silver mr3">Designed with <a href="https://desiredpersona.com/themes/" class="f7 fw3 light-silver link underline-hover mr3" target="_blank">Minimal Theme</a></span>
|
18
18
|
{% endif %}
|
19
19
|
</nav>
|
20
20
|
</footer>
|
data/_includes/header.html
CHANGED
@@ -4,21 +4,24 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
{% if page.header.layout == 'hero' %}
|
7
|
-
<header class="flex flex-column cover w-100 vh-
|
7
|
+
<header class="flex flex-column cover w-100 vh-75-l bg-left bg-center-l {% if page.header.class %}{{ page.header.class }}{% endif %}" style="background-image: url({{ page.header.image | absolute_url }})">
|
8
8
|
{% if page.header.navigation == 'fancy' %}
|
9
9
|
{% include navigation.html %}
|
10
10
|
{% endif %}
|
11
11
|
<div class="flex flex-auto flex-column justify-center">
|
12
|
-
<div class="flex flex-column items-start items-center-l mw9 mw7-m center w-100
|
12
|
+
<div class="flex flex-column items-start items-center-l mw9 mw7-m center w-100 pv5 pv0-l pa3 ph4-ns">
|
13
13
|
<h1 class="f2 f1-l fw6 lh-title white mv0">{{ page.title }}</h1>
|
14
14
|
{% if page.subtitle %}
|
15
|
-
<h2 class="
|
15
|
+
<h2 class="f3 f2-l fw4 lh-title white-90 mt3 mb3">{{ page.subtitle }}</h2>
|
16
|
+
{% endif %}
|
17
|
+
{% if page.paragraph %}
|
18
|
+
<p class="f5 f4-l fw3 lh-copy white-80 mt3 mb3">{{ page.paragraph }}</p>
|
16
19
|
{% endif %}
|
17
20
|
|
18
21
|
{% if page.header.cta_url contains "://" %}
|
19
|
-
<a class="f5 f4-ns no-underline dib grow{% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url }}" target="_blank" rel="nofollow">{{ page.header.cta }}</a>
|
22
|
+
<a class="f5 f4-ns no-underline dib grow {% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url }}" target="_blank" rel="nofollow">{{ page.header.cta }}</a>
|
20
23
|
{% elsif page.header.cta_url %}
|
21
|
-
<a class="f5 f4-ns no-underline dib grow{% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url | absolute_url }}">{{ page.header.cta }}</a>
|
24
|
+
<a class="f5 f4-ns no-underline dib grow {% if page.header.cta.class %}{{ page.header.cta.class | join: ' ' | prepend: ' ' }}{% else %}{{ site.data.theme.ui.header.cta.class | join: ' ' | prepend: ' ' }}{% endif %} ph4 pv3 mb3" href="{{ page.header.cta_url | absolute_url }}">{{ page.header.cta }}</a>
|
22
25
|
{% endif %}
|
23
26
|
</div>
|
24
27
|
</div>
|
@@ -33,6 +36,6 @@
|
|
33
36
|
{% endif %}
|
34
37
|
|
35
38
|
|
36
|
-
{% if page.header.
|
37
|
-
<span class="flex flex-row justify-center f6 fw3 light-silver pv2 ph3">{{ site.data.theme.text.
|
39
|
+
{% if page.header.caption %}
|
40
|
+
<span class="flex flex-row justify-center f6 fw3 light-silver pv2 ph3">{{ site.data.theme.text.caption }}: {{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
38
41
|
{% endif %}
|
data/_includes/navigation.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="flex-l justify-between items-center mw7 mw8-l w-100 {% if page.sidebar %}center-l{% else %}center{% endif %}
|
1
|
+
<div class="flex-l justify-between items-center mw7 mw8-l w-100 {% if page.sidebar %}center-l{% else %}center{% endif %} pt3 pb3 pl3 pr3-ns ph4-m">
|
2
2
|
{% if page.header.navigation == 'fancy' %}
|
3
3
|
<a class="white link f2 f3-l fw4 dim mr3" href="{{ '/' | absolute_url }}" title="Home">{{ site.title }}</a>
|
4
4
|
{% else %}
|
data/_layouts/home.html
CHANGED
@@ -8,7 +8,7 @@ layout: default
|
|
8
8
|
<h3 class="f5 f4-ns fw3 mb0 pb2 bb b--light-gray">{{ site.data.theme.text.latest_articles | capitalize | default: "Latest writings" }}</h3>
|
9
9
|
|
10
10
|
{% for post in site.posts limit: site.data.theme.text.post_limit %}
|
11
|
-
<div class="post
|
11
|
+
<div class="post pv4 bb b--light-gray">
|
12
12
|
<div class="f5 fw3 light-silver lh-copy">
|
13
13
|
{% if post.last_modified_at %}
|
14
14
|
<span>{{ site.data.theme.text.updated }} {{ post.last_modified_at | date: site.date_format }}</span>
|
data/_layouts/post.html
CHANGED
@@ -13,7 +13,7 @@ layout: default
|
|
13
13
|
{% unless page.header.layout == 'hero' %}
|
14
14
|
<h1 class="f2 fw6 lh-title mb1">{{ page.title }}</h1>
|
15
15
|
{% if page.subtitle %}
|
16
|
-
<h2 class="f3
|
16
|
+
<h2 class="f3 fw4 lh-title light-silver mv2">{{ page.subtitle }}</h2>
|
17
17
|
{% endif %}
|
18
18
|
{% endunless %}
|
19
19
|
</header>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/* Variables */
|
2
|
+
/* Media queries */
|
3
|
+
/*
|
4
|
+
|
5
|
+
TACHYONS BACKGROUND OVERLAYS
|
6
|
+
|
7
|
+
Add an overlay to background images.
|
8
|
+
|
9
|
+
Media Query Extensions:
|
10
|
+
-ns = not-small
|
11
|
+
-m = medium
|
12
|
+
-l = large
|
13
|
+
|
14
|
+
*/
|
15
|
+
.bg-darken-25 { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .25 ); }
|
16
|
+
.bg-darken-50 { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .5 ); }
|
17
|
+
.bg-darken-75 { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .75 ); }
|
18
|
+
.bg-lighten-25 { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .25 ); }
|
19
|
+
.bg-lighten-50 { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .5 ); }
|
20
|
+
.bg-lighten-75 { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .75 ); }
|
21
|
+
@media screen and (min-width: 30em) {
|
22
|
+
.bg-darken-25-ns { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .25 ); }
|
23
|
+
.bg-darken-50-ns { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .5 ); }
|
24
|
+
.bg-darken-75-ns { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .75 ); }
|
25
|
+
.bg-lighten-25-ns { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .25 ); }
|
26
|
+
.bg-lighten-50-ns { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .5 ); }
|
27
|
+
.bg-lighten-75-ns { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .75 ); }
|
28
|
+
}
|
29
|
+
@media screen and (min-width: 30em) and (max-width: 60em) {
|
30
|
+
.bg-darken-25-m { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .25 ); }
|
31
|
+
.bg-darken-50-m { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .5 ); }
|
32
|
+
.bg-darken-75-m { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .75 ); }
|
33
|
+
.bg-lighten-25-m { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .25 ); }
|
34
|
+
.bg-lighten-50-m { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .5 ); }
|
35
|
+
.bg-lighten-75-m { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .75 ); }
|
36
|
+
}
|
37
|
+
@media screen and (min-width: 60em) {
|
38
|
+
.bg-darken-25-l { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .25 ); }
|
39
|
+
.bg-darken-50-l { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .5 ); }
|
40
|
+
.bg-darken-75-l { box-shadow: inset 0 0 0 9999px rgba( 0, 0, 0, .75 ); }
|
41
|
+
.bg-lighten-25-l { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .25 ); }
|
42
|
+
.bg-lighten-50-l { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .5 ); }
|
43
|
+
.bg-lighten-75-l { box-shadow: inset 0 0 0 9999px rgba( 255, 255, 255, .75 ); }
|
44
|
+
}
|
data/_sass/_variables.scss
CHANGED
data/assets/css/minimal.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.1.
|
4
|
+
version: 0.1.3
|
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-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-feed
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- _layouts/page.html
|
109
109
|
- _layouts/post.html
|
110
110
|
- _sass/_custom.scss
|
111
|
+
- _sass/_tachyons-background-overlays.scss
|
111
112
|
- _sass/_tachyons.scss
|
112
113
|
- _sass/_variables.scss
|
113
114
|
- _sass/scss/_aspect-ratios.scss
|
@@ -196,5 +197,5 @@ rubyforge_project:
|
|
196
197
|
rubygems_version: 2.6.8
|
197
198
|
signing_key:
|
198
199
|
specification_version: 4
|
199
|
-
summary: A minimal Jekyll theme that converts
|
200
|
+
summary: A minimal Jekyll theme that converts.
|
200
201
|
test_files: []
|