eleven-theme 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc80247b24c472028d3f5cc083a8f79944fe13fa4ea5ad053954c6d3078d1c4b
4
- data.tar.gz: 7dadac6b5d9c8c404702f23fb6d3bdb44daa94e89f96c186d72d4eeecbcc8055
3
+ metadata.gz: be546f5eece825a4f3edb0b63ce370c78edb8b65c5778b1498e2d113023e5081
4
+ data.tar.gz: b098ce4e7c55807efb17df6f96916a9f43994ff238eb4e0a5e1f9252af15578e
5
5
  SHA512:
6
- metadata.gz: 488605050b160f856cc5034b482212119b96800c89b98ff7e6594bfbafa06c48d69dd72a0b2ed16b0c6543b18b57eea8aa7bbcb67c6a663c57ac12faabbfadd3
7
- data.tar.gz: edbffa90aeae66cbf7fbcd31d4ac9010a9c3481109d4ff75fb6e6c6ba81d320ad13474d8fa13049b1bd89a17db8eb01991519748a86f0e04c3a06417fc3d9b65
6
+ metadata.gz: 1a859d341b51faa98e13a3397273b7e1350478d502e5a9ed97a4df58808f79438f148029a3eb1849ae1bf34c2a4694344f940c59fbea6c9218312c0824ad25e7
7
+ data.tar.gz: 0e8d55a05a8f60c5aa582b008685d09b6063b53f727ef0042fdef43b7cdb3ee5301adfc7ed4099f6f4889da36811425a63bf72834da5ca3d897229794268c98c
data/_config.yml CHANGED
@@ -12,5 +12,9 @@ description: "simple & clean jekyll theme"
12
12
  excerpt_separator: <!--more-->
13
13
  page_excerpts: true
14
14
 
15
+ collections:
16
+ collectionName:
17
+ output: true
18
+
15
19
  # for github subpage
16
20
  baseurl: /eleven
data/_layouts/home.html CHANGED
@@ -28,6 +28,19 @@ layout: default
28
28
  {% endif %}
29
29
  {% endfor %}
30
30
 
31
+ {% for collection in site.collections %}
32
+ {% unless collection.label == 'posts' %}
33
+ <div class="box">
34
+ <h2>{{ collection.label }}</h2>
35
+ <ul>
36
+ {% for entry in site[collection.label] %}
37
+ <li><a href="{{ entry.url | relative_url }}">{{ entry.title }}</a></li>
38
+ {% endfor %}
39
+ </ul>
40
+ </div>
41
+ {% endunless %}
42
+ {% endfor %}
43
+
31
44
  {%- assign date_format = site.eleven.date_format | default: "%b %d, %Y" -%}
32
45
  <div class="box">
33
46
  <h2>Posts</h2>
data/_sass/eleven.scss CHANGED
@@ -40,7 +40,6 @@ li { margin: 0.15rem 0; }
40
40
  }
41
41
 
42
42
  code {
43
- color: black;
44
43
  background: lightgray;
45
44
  }
46
45
 
@@ -56,16 +55,17 @@ img {
56
55
  height: auto;
57
56
  max-width: 512px * 0.5;
58
57
  display: block;
59
- margin-left: auto;
60
- margin-right: auto;
58
+ margin: 0 auto;
61
59
  }
62
60
 
63
61
  em > img {
64
- max-width: 512px;
62
+ max-width: 512px * 0.40;
63
+ display: inline;
64
+ margin: 0 512px*0.046;
65
65
  }
66
66
 
67
67
  strong > img {
68
- border-radius: 8px;
68
+ max-width: 512px;
69
69
  }
70
70
 
71
71
  img.logo {
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll