eleven-theme 0.2.6 → 0.2.7

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/home.html +7 -7
  3. data/_sass/eleven.scss +17 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d5958a4b818fee42282a56dc6abf545fb5de0354ab8063fa23673c49aa36793
4
- data.tar.gz: 63060e0eecf9508852aad730e4adc122697abeba2a91b50baa27e65e3d91a840
3
+ metadata.gz: 3044c06d924bdf4b077593ed738048fb056644018dcddb637f17e59091d2485d
4
+ data.tar.gz: 89577f68c6c265d85c5aff8562c81756f56871a948d577a5bd69387a9c7d5c4f
5
5
  SHA512:
6
- metadata.gz: f86c3f5f47cdc7d55d83166d13eb24f5a570773efb40fbbe30dae1e20ee4481d3999cc1657459784b304606003e41d733022f6cdba9274666a069e2e4627e19b
7
- data.tar.gz: 93354a4700cdd6aef2fb3a3eab6de2ba650492166ffce705b7206e39e5458a56e415eea20b48b8218abec4c811014378ad8f1ae739af37c3e78e85f490b24622
6
+ metadata.gz: 3fdb0c597b79a615174181f8a3ee72eb3470dbc81f4dfb4a5d18bd4eef11038287ecf0322865b3d43253ed20d19d6b771d62a00e4fa6a3bee34026631bafd4b9
7
+ data.tar.gz: b11b20f70667c0020ca2368395e82d6f3611de53572d3941335feb1b1a0591a00036ebdd8cd00da59887d9e088a4283ad2b8ca32b9d92934d6d2542530cd6a1a
data/_layouts/home.html CHANGED
@@ -8,19 +8,19 @@ layout: default
8
8
  {{ content }}
9
9
  <div style="clear: both;"></div>
10
10
  </div>
11
-
12
- {% for page in site.pages %}
11
+ {% assign sorted_pages = site.pages | sort:"order" %}
12
+ {% for page in sorted_pages %}
13
13
  {% if page.layout == 'block' %}
14
14
  {% unless page.content contains site.excerpt_separator %}
15
15
  <div class="box">
16
- <h3>{{ page.title }}</h3>
16
+ <h1>{{ page.title }}</h1>
17
17
  {{ page.content | markdownify }}
18
18
  </div>
19
19
  {% endunless %}
20
20
  {% endif %}
21
21
  {% if page.layout == 'block' and page.content contains site.excerpt_separator %}
22
22
  <div class="box">
23
- <h3>{{ page.title }}</h3>
23
+ <h1>{{ page.title }}</h1>
24
24
  {{ page.excerpt }}
25
25
  <p><a href="{{ page.url | relative_url }}">Read more</a></p>
26
26
  </div>
@@ -31,9 +31,9 @@ layout: default
31
31
  {% unless collection.label == 'posts' %}
32
32
  <div class="box">
33
33
  {% if collection.title %}
34
- <h3>{{ collection.title }}</h3>
34
+ <h1>{{ collection.title }}</h1>
35
35
  {% else %}
36
- <h3>{{ collection.label }}</h3>
36
+ <h1>{{ collection.label }}</h1>
37
37
  {% endif %}
38
38
  <ul>
39
39
  {% for entry in site[collection.label] %}
@@ -46,7 +46,7 @@ layout: default
46
46
 
47
47
  {%- assign date_format = site.eleven.date_format | default: "%b %d, %Y" -%}
48
48
  <div class="box">
49
- <h3>Posts</h3>
49
+ <h1>Posts</h1>
50
50
  <ul>
51
51
  {% for post in site.posts %}
52
52
  <li>{{ post.date | date: date_format }} - <a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
data/_sass/eleven.scss CHANGED
@@ -22,6 +22,23 @@ li { margin: 0.15em 0; }
22
22
  border: 1px solid black;
23
23
  }
24
24
 
25
+ h1 {
26
+ font-size: 1.3em;
27
+ }
28
+
29
+ h2 {
30
+ font-size: 1.1em;
31
+ }
32
+
33
+ @for $i from 3 through 6 {
34
+ h#{$i} {
35
+ //font-size: $base-font-size + $heading-scale * (6 - $i) * (6 - $i);
36
+ font-size: 1em;
37
+ text-decoration: underline;
38
+ font-weight: normal;
39
+ }
40
+ }
41
+
25
42
  code {
26
43
  background: lightgray;
27
44
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eleven-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul