jekyll-theme-mint 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/_layouts/home.html +2 -1
- data/_sass/_layout.scss +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 301a4b0e9ce86f3051d8131b09797e355eb40083d4b75121b300c38f7b9f1e3e
|
4
|
+
data.tar.gz: c327ab8db1aec981b0762e4a991da7fb697034e2c4c1a352587565d63104ee63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 332111ae5372eff6dae57deb26feeb3397570df67ea880b9f6fbbc5d0fe986b6fdfeb6b961c9d65473576e5ec70b41c87c5a14c037db0c385533ef8b88f454cf
|
7
|
+
data.tar.gz: 1f66d4ad507cb228d98278072365b274b822b69a9a31764ef96be8cd89462eb5dc52e35062feceaac90c5b64f3a1f3cbc81ef239e2650e42c3f987927f089c4c
|
data/README.md
CHANGED
@@ -37,6 +37,14 @@ facebook_username: your_name
|
|
37
37
|
dribbble_username: your_name
|
38
38
|
```
|
39
39
|
|
40
|
+
### Customize date formate
|
41
|
+
|
42
|
+
Edit `_config.yml` file to change default date formate.
|
43
|
+
|
44
|
+
```yaml
|
45
|
+
date_format: '%b %-d, %Y'
|
46
|
+
```
|
47
|
+
|
40
48
|
### Enable Disqus
|
41
49
|
|
42
50
|
Edit `_config.yml` file to add your Disqus short name and you can enable Disqus on your site.
|
data/_layouts/home.html
CHANGED
@@ -7,7 +7,8 @@ layout: default
|
|
7
7
|
{% for post in site.posts %}
|
8
8
|
<li class='posts__item'>
|
9
9
|
<time class='posts__date' datetime='{{ post.date | date_to_xmlschema }}'>
|
10
|
-
{
|
10
|
+
{% assign date_format = site.date_format | default: '%b %-d, %Y' %}
|
11
|
+
{{ post.date | date: date_format }}
|
11
12
|
</time>
|
12
13
|
<div class='posts__title'>
|
13
14
|
<a class='posts__link' href='{{ post.url | relative_url }}'>
|
data/_sass/_layout.scss
CHANGED
@@ -57,18 +57,19 @@ body {
|
|
57
57
|
display: flex;
|
58
58
|
flex-wrap: wrap;
|
59
59
|
margin-bottom: 50px;
|
60
|
-
align-items:
|
60
|
+
align-items: baseline;
|
61
61
|
}
|
62
62
|
|
63
63
|
.posts__date {
|
64
64
|
width: 30%;
|
65
65
|
color: $grey;
|
66
66
|
font-size: 1rem;
|
67
|
+
font-family: $serif-fonts;
|
67
68
|
}
|
68
69
|
|
69
70
|
.posts__title {
|
70
71
|
width: 70%;
|
71
|
-
font-size:
|
72
|
+
font-size: 1rem;
|
72
73
|
}
|
73
74
|
|
74
75
|
.posts__link {
|
@@ -78,7 +79,7 @@ body {
|
|
78
79
|
|
79
80
|
.footer {
|
80
81
|
padding: 25px 0;
|
81
|
-
font-size: .
|
82
|
+
font-size: .9rem;
|
82
83
|
font-style: italic;
|
83
84
|
font-family: $serif-fonts;
|
84
85
|
color: $grey;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-mint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aidewoode
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|