jekyll-theme-simpleton 0.9.0 → 0.10.0

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: ed4d2f8e401197b3eb4291a181cb2dbd2f3f99f6424167973b20ba474c1cb75d
4
- data.tar.gz: 7dff2fd6dda32c0c19d08bb5d7ef499a26b06f99230063b196e68960363ced81
3
+ metadata.gz: f00c2fdbdc768aab41ed2e870ff07dbe0dc6e462ee60e826ba4ec4af9864c4cc
4
+ data.tar.gz: 9b89cf59e9cf255e8ce806371c9ee1a08027153404b321a708869f04b162e607
5
5
  SHA512:
6
- metadata.gz: 5286db90237fc1351a1cea3fe56e9f1faffc8427b95198b7e3b607c9105c42ffeb1ffd5ade6a7312a0623a37c048725db55db4f846501e43712967aae0a2e39a
7
- data.tar.gz: f883859bfec426ecfbbd4b926c357b0c43f2e11763d2c89d80b0181024efb38158b11c9bb20b7730fb598eb9105c034873fd0f03bd797a81486fcbc7aed4efd5
6
+ metadata.gz: dd609e5d513d8b16ac0eb3211f20790f3e32864356828af2f9493406fae6d1a2c3ba208adf38bca741d05ee1fb810a8d89a2c8e071e9804649d59c4277b3fe96
7
+ data.tar.gz: 4585192be1df32f626d76bd945002da585b031010eed80426940473fef7ceff72b63eb286d863d088cdfa9f7b525871fe2d14161dd99f2e640e3a45ea6085ae2
data/_config.yml CHANGED
@@ -3,21 +3,21 @@ title: Jekyll Theme Simpleton
3
3
  author: anwait
4
4
 
5
5
  plugins:
6
- - jekyll-seo-tag
6
+ - jekyll-seo-tag
7
7
 
8
8
  date_format: "%F"
9
9
 
10
10
  defaults:
11
- - scope:
12
- path: ""
13
- type: "posts"
14
- values:
15
- layout: "post"
16
- - scope:
17
- path: ""
18
- type: "pages"
19
- values:
20
- layout: "page"
11
+ - scope:
12
+ path: ""
13
+ type: "posts"
14
+ values:
15
+ layout: "post"
16
+ - scope:
17
+ path: ""
18
+ type: "pages"
19
+ values:
20
+ layout: "page"
21
21
 
22
22
  show_excerpts: true
23
23
 
@@ -26,13 +26,13 @@ show_excerpts: true
26
26
  ### relative to the site's source directory and cannot be outside the source
27
27
  ### directory.
28
28
  exclude:
29
- - Rakefile
30
- - "*.gemspec"
31
- - package.json
32
- - README.md
33
- - LICENSE.md
34
- - yarn.lock
35
- - pkg/
29
+ - Rakefile
30
+ - "*.gemspec"
31
+ - package.json
32
+ - README.md
33
+ - LICENSE.md
34
+ - yarn.lock
35
+ - pkg/
36
36
 
37
37
  # Build Command Options
38
38
  ## Liquid Profiler
@@ -46,4 +46,4 @@ profile: true
46
46
  strict_front_matter: true
47
47
 
48
48
  sass:
49
- style: compressed
49
+ style: compressed
@@ -3,5 +3,5 @@
3
3
  {%- assign date_format = include.date_format | default: "%Y" -%}
4
4
 
5
5
  <{{ tag }} id="copyright">
6
- Copyright &#169; {{ site.time | date: date_format }} {{ site.author }}
6
+ Copyright &#169; {{ site.time | date: date_format }} {{ site.author }}
7
7
  </{{ tag }}>
@@ -1,5 +1,5 @@
1
1
  <footer id="footer">
2
2
 
3
- {%- include copyright.html -%}
3
+ {%- include copyright.html -%}
4
4
 
5
5
  </footer> <!-- #footer -->
data/_includes/head.html CHANGED
@@ -1,6 +1,6 @@
1
1
  <head>
2
- <meta charset="utf-8" />
3
- <meta name="viewport" content="width=device-width, initial-scale=1" />
4
- {%- seo -%}
5
- <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}" />
2
+ <meta charset="utf-8" />
3
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
4
+ {%- seo -%}
5
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}" />
6
6
  </head>
@@ -1,13 +1,13 @@
1
1
  <header id="header">
2
- <h1 id="site-title">
3
- {{- site.title -}}
4
- </h1> <!-- #site-title -->
2
+ <h1 id="site-title">
3
+ {{- site.title -}}
4
+ </h1> <!-- #site-title -->
5
5
 
6
- {%- if site.subtitle -%}
7
- <p id="site-subtitle">
8
- {{- site.subtitle -}}
9
- </p> <!-- #site-subtitle -->
10
- {%- endif -%}
6
+ {%- if site.subtitle -%}
7
+ <p id="site-subtitle">
8
+ {{- site.subtitle -}}
9
+ </p> <!-- #site-subtitle -->
10
+ {%- endif -%}
11
11
 
12
- {%- include menu.html -%}
12
+ {%- include menu.html -%}
13
13
  </header> <!-- #header -->
data/_includes/menu.html CHANGED
@@ -1,25 +1,29 @@
1
1
  {%- assign sorted_pages = site.html_pages | sort: "menu_weight", "last" -%}
2
2
 
3
- {%- if sorted_paged.size > 1 -%}
3
+ {%- if sorted_pages.size > 1 -%}
4
4
  <nav id="menu">
5
- <ul class="menu-list">
5
+ <ul class="menu-list">
6
6
 
7
- {%- for p in sorted_pages -%}
7
+ {%- for p in sorted_pages -%}
8
8
 
9
- {%- unless p.hidden -%}
9
+ {%- unless p.hidden -%}
10
10
 
11
- <li class="menu-item {% if p.url == page.url %}menu-selected{% endif %}">
12
- <a class="menu-link" href="{{ p.url }}">
11
+ <li class="menu-item {% if p.url == page.url %}menu-selected{% endif %}">
12
+ <a class="menu-link" href="{{ p.url }}">
13
+ [
14
+ {%- if p.layout == "home" -%}
15
+ Home
16
+ {%- else -%}
17
+ {{- p.title -}}
18
+ {%- endif -%}
19
+ ]
20
+ </a> <!-- .menu-link -->
21
+ </li> <!-- .menu-item -->
13
22
 
14
- {{- p.title -}}
23
+ {%- endunless -%}
15
24
 
16
- </a> <!-- .menu-link -->
17
- </li> <!-- .menu-item -->
25
+ {%- endfor -%}
18
26
 
19
- {%- endunless -%}
20
-
21
- {%- endfor -%}
22
-
23
- </ul> <!-- .menu-list -->
27
+ </ul> <!-- .menu-list -->
24
28
  </nav> <!-- #menu -->
25
29
  {%- endif -%}
@@ -13,43 +13,43 @@
13
13
  {%- assign date_format = site.date_format -%}
14
14
 
15
15
  <section id="post-listing">
16
- <header id="post-listing-header">
17
- <h2 id="post-listing-heading">
16
+ <header id="post-listing-header">
17
+ <h2 id="post-listing-heading">
18
18
 
19
- {{- posts.list_title | default: "Posts" -}}
19
+ {{- posts.list_title | default: "Posts" -}}
20
20
 
21
- </h2> <!-- #post-listing-heading -->
22
- </header> <!-- #post-listing-header -->
23
- <ul class="post-list">
21
+ </h2> <!-- #post-listing-heading -->
22
+ </header> <!-- #post-listing-header -->
23
+ <ul class="post-list">
24
24
 
25
- {%- for post in posts -%}
25
+ {%- for post in posts -%}
26
26
 
27
- <li class="post-item">
28
- <span class="post-meta">
27
+ <li class="post-item">
28
+ <span class="post-meta">
29
29
 
30
- {{- post.date | date: date_format -}}
30
+ {{- post.date | date: date_format -}}
31
31
 
32
- </span>
33
- <a class="post-link" href="{{ post.url | relative_url }}">
34
- {{ post.title | escape }}
35
- </a>
32
+ </span>
33
+ <a class="post-link" href="{{ post.url | relative_url }}">
34
+ {{ post.title | escape }}
35
+ </a>
36
36
 
37
- {%- if site.show_excerpts -%}
37
+ {%- if site.show_excerpts -%}
38
38
 
39
- <div class="post-excerpt">
39
+ <div class="post-excerpt">
40
40
 
41
- {{- post.excerpt -}}
41
+ {{- post.excerpt -}}
42
42
 
43
- </div>
43
+ </div>
44
44
 
45
- {%- endif -%}
45
+ {%- endif -%}
46
46
 
47
47
 
48
- </li> <!-- .post-item -->
48
+ </li> <!-- .post-item -->
49
49
 
50
- {%- endfor -%}
50
+ {%- endfor -%}
51
51
 
52
- </ul> <!-- .post-list -->
52
+ </ul> <!-- .post-list -->
53
53
  </section> <!-- #post-listing -->
54
54
 
55
55
  {%- endif -%}
@@ -4,29 +4,29 @@
4
4
 
5
5
  <ol id="series">
6
6
 
7
- {%- for post in series_posts -%}
7
+ {%- for post in series_posts -%}
8
8
 
9
- <li>
10
- <a href="{{ post.url | relative_url }}">
9
+ <li>
10
+ <a href="{{ post.url | relative_url }}">
11
11
 
12
- {%- if post.url == page.url -%}
12
+ {%- if post.url == page.url -%}
13
13
 
14
- <em>
14
+ <em>
15
15
 
16
- {%- endif -%}
16
+ {%- endif -%}
17
17
 
18
- {{- post.title -}}
18
+ {{- post.title -}}
19
19
 
20
- {%- if post.url == page.url -%}
20
+ {%- if post.url == page.url -%}
21
21
 
22
- </em>
22
+ </em>
23
23
 
24
- {%- endif -%}
24
+ {%- endif -%}
25
25
 
26
- </a>
27
- </li>
26
+ </a>
27
+ </li>
28
28
 
29
- {%- endfor -%}
29
+ {%- endfor -%}
30
30
 
31
31
  </ol> <!-- #series -->
32
32
 
@@ -4,17 +4,17 @@
4
4
  {%- include head.html -%}
5
5
 
6
6
  <body>
7
- <div id="layout">
7
+ <div id="layout">
8
8
 
9
- {%- include header.html -%}
9
+ {%- include header.html -%}
10
10
 
11
- <main id="main">
12
- {{- content -}}
13
- </main> <!-- #main -->
11
+ <main id="main">
12
+ {{- content -}}
13
+ </main> <!-- #main -->
14
14
 
15
- {%- include footer.html -%}
15
+ {%- include footer.html -%}
16
16
 
17
- </div> <!-- #layout -->
17
+ </div> <!-- #layout -->
18
18
  </body>
19
19
 
20
20
  </html>
data/_layouts/home.html CHANGED
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div id="hero">
6
- {{- content -}}
6
+ {{- content -}}
7
7
  </div> <!-- #hero -->
8
8
 
9
9
  {%- include post-listing.html -%}
data/_layouts/page.html CHANGED
@@ -3,50 +3,50 @@ layout: default
3
3
  ---
4
4
 
5
5
  <section id="content">
6
- <header id="page-header">
6
+ <header id="page-header">
7
7
 
8
- {%- if page.title -%}
8
+ {%- if page.title -%}
9
9
 
10
- <h2 id="page-title">
10
+ <h2 id="page-title">
11
11
 
12
- {{- page.title -}}
12
+ {{- page.title -}}
13
13
 
14
- </h2> <!-- #page-title -->
14
+ </h2> <!-- #page-title -->
15
15
 
16
- {%- endif -%}
16
+ {%- endif -%}
17
17
 
18
- {%- if page.subtitle -%}
18
+ {%- if page.subtitle -%}
19
19
 
20
- <p id="page-subtitle">
20
+ <p id="page-subtitle">
21
21
 
22
- {{- page.subtitle -}}
22
+ {{- page.subtitle -}}
23
23
 
24
- </p> <!-- #page-subtitle -->
24
+ </p> <!-- #page-subtitle -->
25
25
 
26
- {%- endif -%}
26
+ {%- endif -%}
27
27
 
28
- {%- if page.author -%}
28
+ {%- if page.author -%}
29
29
 
30
- <p id="page-author">
30
+ <p id="page-author">
31
31
 
32
- {{- page.author -}}
32
+ {{- page.author -}}
33
33
 
34
- </p> <!-- #page-author -->
34
+ </p> <!-- #page-author -->
35
35
 
36
- {%- endif -%}
36
+ {%- endif -%}
37
37
 
38
- {%- if page.date -%}
38
+ {%- if page.date -%}
39
39
 
40
- <p id="page-date">
40
+ <p id="page-date">
41
41
 
42
- {{- page.date -}}
42
+ {{- page.date -}}
43
43
 
44
- </p> <!-- #page-date -->
44
+ </p> <!-- #page-date -->
45
45
 
46
- {%- endif -%}
46
+ {%- endif -%}
47
47
 
48
- </header>
48
+ </header>
49
49
 
50
- {{- content -}}
50
+ {{- content -}}
51
51
 
52
52
  </section> <!-- #content -->
data/_layouts/post.html CHANGED
@@ -5,52 +5,52 @@ layout: default
5
5
  {%- assign date_format = site.date_format -%}
6
6
 
7
7
  <section id="content">
8
- <header id="page-header">
8
+ <header id="page-header">
9
9
 
10
- {%- if page.title -%}
10
+ {%- if page.title -%}
11
11
 
12
- <h2 id="page-title">
12
+ <h2 id="page-title">
13
13
 
14
- {{- page.title -}}
14
+ {{- page.title -}}
15
15
 
16
- </h2> <!-- #page-title -->
16
+ </h2> <!-- #page-title -->
17
17
 
18
- {%- endif -%}
18
+ {%- endif -%}
19
19
 
20
- {%- if page.subtitle -%}
20
+ {%- if page.subtitle -%}
21
21
 
22
- <p id="page-subtitle">
22
+ <p id="page-subtitle">
23
23
 
24
- {{- page.subtitle -}}
24
+ {{- page.subtitle -}}
25
25
 
26
- </p> <!-- #page-subtitle -->
26
+ </p> <!-- #page-subtitle -->
27
27
 
28
- {%- endif -%}
28
+ {%- endif -%}
29
29
 
30
- {%- if page.author -%}
30
+ {%- if page.author -%}
31
31
 
32
- <p id="page-author">
32
+ <p id="page-author">
33
33
 
34
- {{- page.author -}}
34
+ {{- page.author -}}
35
35
 
36
- </p> <!-- #page-author -->
36
+ </p> <!-- #page-author -->
37
37
 
38
- {%- endif -%}
38
+ {%- endif -%}
39
39
 
40
- {%- if page.date -%}
40
+ {%- if page.date -%}
41
41
 
42
- <p id="page-date">
42
+ <p id="page-date">
43
43
 
44
- {{- page.date | date: date_format -}}
44
+ {{- page.date | date: date_format -}}
45
45
 
46
- </p> <!-- #page-date -->
46
+ </p> <!-- #page-date -->
47
47
 
48
- {%- endif -%}
48
+ {%- endif -%}
49
49
 
50
- {%- include series.html -%}
50
+ {%- include series.html -%}
51
51
 
52
- </header> <!-- #page-header -->
52
+ </header> <!-- #page-header -->
53
53
 
54
- {{- content -}}
54
+ {{- content -}}
55
55
 
56
56
  </section>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-simpleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoli Wagner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-21 00:00:00.000000000 Z
11
+ date: 2022-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.2.29
143
+ rubygems_version: 3.3.8
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: A very simple jekyll theme with almost no css.