fundamental 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: c12ead8c5eeff92094c65763e4528ec2ea49a66b
4
- data.tar.gz: c9bb461dc319e118d42e6940aca9c1f635264163
3
+ metadata.gz: 96d151c7a4cd842824891cdbbbacc577b24ca155
4
+ data.tar.gz: c5f2569c107c7fb57b32f21d5e7bfa4057c54837
5
5
  SHA512:
6
- metadata.gz: 7024333e97a03832b84edbd104047b228e2d8b88880e40507b4fe575ccb9f913e28bc8988b530bc497a987e53cbf03870b57e2336c81f88d5fa622d33e4e43a7
7
- data.tar.gz: c54a21017a9ce945f01b45af37c158a8a64c0a0c69e99f5f02652cfa57fc7c9a4d9743a6736f70191b78e4ae4cbefd73339546352efcaa77d772563825f844b0
6
+ metadata.gz: 8d6612f1e21f29dccc236bb282ac9787f1615e1138481dbe6550a5f3816117865df3340f4c16af925ee8c82ca6f96b1c7f39ef8a597b8137861e7fe66678932b
7
+ data.tar.gz: ed6d6744b55f22d82f167b2f596fbaf5d23c0a1c0825b9cc29293391ef966d8e2ab99f774d9ef6d0025718f9c2fa8632da864917d3c48b8f1d4fbd813f7cb8d8
@@ -3,10 +3,14 @@ layout: default
3
3
  ---
4
4
 
5
5
  <h1>All Posts</h1>
6
- <ul>
7
- {% for post in site.posts %}
8
- <li><a href="{{ post.url | relative_url }}">{{ post.title }}</a>
9
- <span> - {{ post.date | date_to_string }}</span>
10
- </li>
11
- {% endfor %}
12
- </ul>
6
+ {% for post in site.posts %}
7
+ {% assign currentdate = post.date | date: "%Y" %}
8
+ {% if currentdate != date %}
9
+ {% unless forloop.first %}</ul>{% endunless %}
10
+ <h3 id="y{{post.date | date: "%Y"}}">{{ currentdate }}</h3>
11
+ <ul>
12
+ {% assign date = currentdate %}
13
+ {% endif %}
14
+ <li><a href="{{ post.url }}">{{ post.title }}</a><span class="post-date"> - {{ post.date | date: "%b %-d, %Y" }}</span></li>
15
+ {% if forloop.last %}</ul>{% endif %}
16
+ {% endfor %}
data/_sass/_globals.scss CHANGED
@@ -1,6 +1,7 @@
1
1
  html {
2
2
  display: flex; //IE 11 Fix for sticky footer
3
3
  flex-direction: column;
4
+ overflow-x: hidden;
4
5
  }
5
6
  body {
6
7
  font-family: $font;
data/_sass/_post.scss CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  .info {
15
15
  margin-bottom: 60px;
16
- margin-top: -45px;
16
+ margin-top: -35px;
17
17
  @media screen and (max-width: $break) {
18
18
  margin-bottom: 40px;
19
19
  }
@@ -69,6 +69,10 @@ figure {
69
69
  background: lighten($accent, 35%);
70
70
  padding: 10px 10px 0 10px;
71
71
  border-radius: 3px;
72
+ code {
73
+ display: block;
74
+ background: none;
75
+ }
72
76
  }
73
77
 
74
78
 
@@ -96,6 +100,6 @@ ul {
96
100
  }
97
101
 
98
102
  code {
99
- background: lighten($accent, 30%);
103
+ background: rgba($accent, .2);
100
104
  padding: 0;
101
105
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fundamental
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theo M Jones
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll