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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb696470db4327649c8f4f59e3185c199ea37db91b9acbb4f174fe947861ad25
4
- data.tar.gz: 7a11212a96affed90d3bab41959ab72e66df00df2a74f0b2bf3450c5c606c602
3
+ metadata.gz: 301a4b0e9ce86f3051d8131b09797e355eb40083d4b75121b300c38f7b9f1e3e
4
+ data.tar.gz: c327ab8db1aec981b0762e4a991da7fb697034e2c4c1a352587565d63104ee63
5
5
  SHA512:
6
- metadata.gz: 711929d913b8df5fdf382337ca4a645df3367e5a858b454d9bd4b610ba62e667940b199e88a900e75964c807dff9a9006e02af98195ec59fcd4fa93e0a6e630e
7
- data.tar.gz: 987e201b43593ed49edcab81c900aab6b34f8bb73f39e7490090cf0c582c6f25a4dfd81e82bca9cf1f1d01bbeaa69caec4a2dd28804e719fc6ae30cde049b0f2
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
- {{ post.date | date: '%b %-d, %Y' }}
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: center;
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: 1.1rem;
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: .8rem;
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.1
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-08-30 00:00:00.000000000 Z
11
+ date: 2018-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll