eleven-theme 0.2.5 → 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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_layouts/home.html +7 -7
- data/_sass/eleven.scss +17 -0
- 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: 3044c06d924bdf4b077593ed738048fb056644018dcddb637f17e59091d2485d
|
4
|
+
data.tar.gz: 89577f68c6c265d85c5aff8562c81756f56871a948d577a5bd69387a9c7d5c4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fdb0c597b79a615174181f8a3ee72eb3470dbc81f4dfb4a5d18bd4eef11038287ecf0322865b3d43253ed20d19d6b771d62a00e4fa6a3bee34026631bafd4b9
|
7
|
+
data.tar.gz: b11b20f70667c0020ca2368395e82d6f3611de53572d3941335feb1b1a0591a00036ebdd8cd00da59887d9e088a4283ad2b8ca32b9d92934d6d2542530cd6a1a
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Also the github-pages part of the github actions [here](https://github.com/PaulS
|
|
35
35
|
|
36
36
|
## Layouts
|
37
37
|
|
38
|
-
Check
|
38
|
+
Check out the [demo website](https://paulst.github.io/eleven/) to see the different layouts. So far there are layouts for
|
39
39
|
* home - should be used in for the index.md
|
40
40
|
* block - used to show content directly in the home layout in a seperate block
|
41
41
|
* post - used to create posts, which will be listed in the home layout.
|
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
|
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
|
-
<
|
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
|
-
<
|
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
|
-
<
|
34
|
+
<h1>{{ collection.title }}</h1>
|
35
35
|
{% else %}
|
36
|
-
<
|
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
|
-
<
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eleven-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|