jekyll-theme-simpleton 0.7.0 → 0.10.0

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
  SHA256:
3
- metadata.gz: ae1766c004c524115987283638ceb67df12e2f1094f5f6de657270661dfa71ef
4
- data.tar.gz: b47afc6ea1d6ae16827f8316c1a4e02ec0f4d8ca87a8ea5850cf8379d82aece6
3
+ metadata.gz: f00c2fdbdc768aab41ed2e870ff07dbe0dc6e462ee60e826ba4ec4af9864c4cc
4
+ data.tar.gz: 9b89cf59e9cf255e8ce806371c9ee1a08027153404b321a708869f04b162e607
5
5
  SHA512:
6
- metadata.gz: 6b4fbd8515f600be567b12783636855fa7579cb7c5d7c88cb88fbf76605675a63e084a8ac9a159a2e925d5ffdc596a2bb8bdb560b8cd87c790e18103988ad292
7
- data.tar.gz: 608bd01a417d644bff11a8340712d0708afdd4f4f66fd35b2dfae7857d3d475aaae8dee2756d58990ba2d12788ba1875b203ff0b8e00df070be1af951c0e766d
6
+ metadata.gz: dd609e5d513d8b16ac0eb3211f20790f3e32864356828af2f9493406fae6d1a2c3ba208adf38bca741d05ee1fb810a8d89a2c8e071e9804649d59c4277b3fe96
7
+ data.tar.gz: 4585192be1df32f626d76bd945002da585b031010eed80426940473fef7ceff72b63eb286d863d088cdfa9f7b525871fe2d14161dd99f2e640e3a45ea6085ae2
data/_config.yml CHANGED
@@ -3,23 +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
- -
12
- scope:
13
- path: ""
14
- type: "posts"
15
- values:
16
- layout: "post"
17
- -
18
- scope:
19
- path: ""
20
- type: "pages"
21
- values:
22
- 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"
23
21
 
24
22
  show_excerpts: true
25
23
 
@@ -28,14 +26,13 @@ show_excerpts: true
28
26
  ### relative to the site's source directory and cannot be outside the source
29
27
  ### directory.
30
28
  exclude:
31
- - Rakefile
32
- - "*.gemspec"
33
- - package.json
34
- - README.md
35
- - LICENSE.md
36
- - yarn.lock
37
- - pkg/
38
-
29
+ - Rakefile
30
+ - "*.gemspec"
31
+ - package.json
32
+ - README.md
33
+ - LICENSE.md
34
+ - yarn.lock
35
+ - pkg/
39
36
 
40
37
  # Build Command Options
41
38
  ## Liquid Profiler
@@ -43,14 +40,10 @@ exclude:
43
40
  ### bottlenecks.
44
41
  profile: true
45
42
 
46
-
47
43
  ## Strict Front Matter
48
44
  ### Cause a build to fail if there is a YAML syntax error in a page's front
49
45
  ### matter.
50
46
  strict_front_matter: true
51
47
 
52
-
53
48
  sass:
54
- style: compressed
55
- load_paths:
56
- - node_modules
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,23 +1,29 @@
1
1
  {%- assign sorted_pages = site.html_pages | sort: "menu_weight", "last" -%}
2
2
 
3
+ {%- if sorted_pages.size > 1 -%}
3
4
  <nav id="menu">
4
- <ul class="menu-list">
5
+ <ul class="menu-list">
5
6
 
6
- {%- for p in sorted_pages -%}
7
+ {%- for p in sorted_pages -%}
7
8
 
8
- {%- unless p.hidden -%}
9
+ {%- unless p.hidden -%}
9
10
 
10
- <li class="menu-item {% if p.url == page.url %}menu-selected{% endif %}">
11
- <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 -->
12
22
 
13
- {{- p.title -}}
23
+ {%- endunless -%}
14
24
 
15
- </a> <!-- .menu-link -->
16
- </li> <!-- .menu-item -->
25
+ {%- endfor -%}
17
26
 
18
- {%- endunless -%}
19
-
20
- {%- endfor -%}
21
-
22
- </ul> <!-- .menu-list -->
27
+ </ul> <!-- .menu-list -->
23
28
  </nav> <!-- #menu -->
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>
@@ -1 +1 @@
1
- @import "normalize.css/normalize"
1
+ @import "../../node_modules/normalize.css/normalize"
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.7.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-20 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.