jekyll-theme-simpleton 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +19 -19
- data/_includes/copyright.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/head.html +4 -4
- data/_includes/header.html +9 -9
- data/_includes/menu.html +18 -14
- data/_includes/post-listing.html +22 -22
- data/_includes/series.html +13 -13
- data/_layouts/default.html +7 -7
- data/_layouts/home.html +1 -1
- data/_layouts/page.html +23 -23
- data/_layouts/post.html +24 -24
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00c2fdbdc768aab41ed2e870ff07dbe0dc6e462ee60e826ba4ec4af9864c4cc
|
4
|
+
data.tar.gz: 9b89cf59e9cf255e8ce806371c9ee1a08027153404b321a708869f04b162e607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
6
|
+
- jekyll-seo-tag
|
7
7
|
|
8
8
|
date_format: "%F"
|
9
9
|
|
10
10
|
defaults:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
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
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
|
49
|
+
style: compressed
|
data/_includes/copyright.html
CHANGED
data/_includes/footer.html
CHANGED
data/_includes/head.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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>
|
data/_includes/header.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
<header id="header">
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
<h1 id="site-title">
|
3
|
+
{{- site.title -}}
|
4
|
+
</h1> <!-- #site-title -->
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
{%- if site.subtitle -%}
|
7
|
+
<p id="site-subtitle">
|
8
|
+
{{- site.subtitle -}}
|
9
|
+
</p> <!-- #site-subtitle -->
|
10
|
+
{%- endif -%}
|
11
11
|
|
12
|
-
|
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
|
3
|
+
{%- if sorted_pages.size > 1 -%}
|
4
4
|
<nav id="menu">
|
5
|
-
|
5
|
+
<ul class="menu-list">
|
6
6
|
|
7
|
-
|
7
|
+
{%- for p in sorted_pages -%}
|
8
8
|
|
9
|
-
|
9
|
+
{%- unless p.hidden -%}
|
10
10
|
|
11
|
-
|
12
|
-
|
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
|
-
{
|
23
|
+
{%- endunless -%}
|
15
24
|
|
16
|
-
|
17
|
-
</li> <!-- .menu-item -->
|
25
|
+
{%- endfor -%}
|
18
26
|
|
19
|
-
|
20
|
-
|
21
|
-
{%- endfor -%}
|
22
|
-
|
23
|
-
</ul> <!-- .menu-list -->
|
27
|
+
</ul> <!-- .menu-list -->
|
24
28
|
</nav> <!-- #menu -->
|
25
29
|
{%- endif -%}
|
data/_includes/post-listing.html
CHANGED
@@ -13,43 +13,43 @@
|
|
13
13
|
{%- assign date_format = site.date_format -%}
|
14
14
|
|
15
15
|
<section id="post-listing">
|
16
|
-
|
17
|
-
|
16
|
+
<header id="post-listing-header">
|
17
|
+
<h2 id="post-listing-heading">
|
18
18
|
|
19
|
-
|
19
|
+
{{- posts.list_title | default: "Posts" -}}
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
</h2> <!-- #post-listing-heading -->
|
22
|
+
</header> <!-- #post-listing-header -->
|
23
|
+
<ul class="post-list">
|
24
24
|
|
25
|
-
|
25
|
+
{%- for post in posts -%}
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
<li class="post-item">
|
28
|
+
<span class="post-meta">
|
29
29
|
|
30
|
-
|
30
|
+
{{- post.date | date: date_format -}}
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
</span>
|
33
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
34
|
+
{{ post.title | escape }}
|
35
|
+
</a>
|
36
36
|
|
37
|
-
|
37
|
+
{%- if site.show_excerpts -%}
|
38
38
|
|
39
|
-
|
39
|
+
<div class="post-excerpt">
|
40
40
|
|
41
|
-
|
41
|
+
{{- post.excerpt -}}
|
42
42
|
|
43
|
-
|
43
|
+
</div>
|
44
44
|
|
45
|
-
|
45
|
+
{%- endif -%}
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
</li> <!-- .post-item -->
|
49
49
|
|
50
|
-
|
50
|
+
{%- endfor -%}
|
51
51
|
|
52
|
-
|
52
|
+
</ul> <!-- .post-list -->
|
53
53
|
</section> <!-- #post-listing -->
|
54
54
|
|
55
55
|
{%- endif -%}
|
data/_includes/series.html
CHANGED
@@ -4,29 +4,29 @@
|
|
4
4
|
|
5
5
|
<ol id="series">
|
6
6
|
|
7
|
-
|
7
|
+
{%- for post in series_posts -%}
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
<li>
|
10
|
+
<a href="{{ post.url | relative_url }}">
|
11
11
|
|
12
|
-
|
12
|
+
{%- if post.url == page.url -%}
|
13
13
|
|
14
|
-
|
14
|
+
<em>
|
15
15
|
|
16
|
-
|
16
|
+
{%- endif -%}
|
17
17
|
|
18
|
-
|
18
|
+
{{- post.title -}}
|
19
19
|
|
20
|
-
|
20
|
+
{%- if post.url == page.url -%}
|
21
21
|
|
22
|
-
|
22
|
+
</em>
|
23
23
|
|
24
|
-
|
24
|
+
{%- endif -%}
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
</a>
|
27
|
+
</li>
|
28
28
|
|
29
|
-
|
29
|
+
{%- endfor -%}
|
30
30
|
|
31
31
|
</ol> <!-- #series -->
|
32
32
|
|
data/_layouts/default.html
CHANGED
@@ -4,17 +4,17 @@
|
|
4
4
|
{%- include head.html -%}
|
5
5
|
|
6
6
|
<body>
|
7
|
-
|
7
|
+
<div id="layout">
|
8
8
|
|
9
|
-
|
9
|
+
{%- include header.html -%}
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
<main id="main">
|
12
|
+
{{- content -}}
|
13
|
+
</main> <!-- #main -->
|
14
14
|
|
15
|
-
|
15
|
+
{%- include footer.html -%}
|
16
16
|
|
17
|
-
|
17
|
+
</div> <!-- #layout -->
|
18
18
|
</body>
|
19
19
|
|
20
20
|
</html>
|
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
@@ -3,50 +3,50 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<section id="content">
|
6
|
-
|
6
|
+
<header id="page-header">
|
7
7
|
|
8
|
-
|
8
|
+
{%- if page.title -%}
|
9
9
|
|
10
|
-
|
10
|
+
<h2 id="page-title">
|
11
11
|
|
12
|
-
|
12
|
+
{{- page.title -}}
|
13
13
|
|
14
|
-
|
14
|
+
</h2> <!-- #page-title -->
|
15
15
|
|
16
|
-
|
16
|
+
{%- endif -%}
|
17
17
|
|
18
|
-
|
18
|
+
{%- if page.subtitle -%}
|
19
19
|
|
20
|
-
|
20
|
+
<p id="page-subtitle">
|
21
21
|
|
22
|
-
|
22
|
+
{{- page.subtitle -}}
|
23
23
|
|
24
|
-
|
24
|
+
</p> <!-- #page-subtitle -->
|
25
25
|
|
26
|
-
|
26
|
+
{%- endif -%}
|
27
27
|
|
28
|
-
|
28
|
+
{%- if page.author -%}
|
29
29
|
|
30
|
-
|
30
|
+
<p id="page-author">
|
31
31
|
|
32
|
-
|
32
|
+
{{- page.author -}}
|
33
33
|
|
34
|
-
|
34
|
+
</p> <!-- #page-author -->
|
35
35
|
|
36
|
-
|
36
|
+
{%- endif -%}
|
37
37
|
|
38
|
-
|
38
|
+
{%- if page.date -%}
|
39
39
|
|
40
|
-
|
40
|
+
<p id="page-date">
|
41
41
|
|
42
|
-
|
42
|
+
{{- page.date -}}
|
43
43
|
|
44
|
-
|
44
|
+
</p> <!-- #page-date -->
|
45
45
|
|
46
|
-
|
46
|
+
{%- endif -%}
|
47
47
|
|
48
|
-
|
48
|
+
</header>
|
49
49
|
|
50
|
-
|
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
|
-
|
8
|
+
<header id="page-header">
|
9
9
|
|
10
|
-
|
10
|
+
{%- if page.title -%}
|
11
11
|
|
12
|
-
|
12
|
+
<h2 id="page-title">
|
13
13
|
|
14
|
-
|
14
|
+
{{- page.title -}}
|
15
15
|
|
16
|
-
|
16
|
+
</h2> <!-- #page-title -->
|
17
17
|
|
18
|
-
|
18
|
+
{%- endif -%}
|
19
19
|
|
20
|
-
|
20
|
+
{%- if page.subtitle -%}
|
21
21
|
|
22
|
-
|
22
|
+
<p id="page-subtitle">
|
23
23
|
|
24
|
-
|
24
|
+
{{- page.subtitle -}}
|
25
25
|
|
26
|
-
|
26
|
+
</p> <!-- #page-subtitle -->
|
27
27
|
|
28
|
-
|
28
|
+
{%- endif -%}
|
29
29
|
|
30
|
-
|
30
|
+
{%- if page.author -%}
|
31
31
|
|
32
|
-
|
32
|
+
<p id="page-author">
|
33
33
|
|
34
|
-
|
34
|
+
{{- page.author -}}
|
35
35
|
|
36
|
-
|
36
|
+
</p> <!-- #page-author -->
|
37
37
|
|
38
|
-
|
38
|
+
{%- endif -%}
|
39
39
|
|
40
|
-
|
40
|
+
{%- if page.date -%}
|
41
41
|
|
42
|
-
|
42
|
+
<p id="page-date">
|
43
43
|
|
44
|
-
|
44
|
+
{{- page.date | date: date_format -}}
|
45
45
|
|
46
|
-
|
46
|
+
</p> <!-- #page-date -->
|
47
47
|
|
48
|
-
|
48
|
+
{%- endif -%}
|
49
49
|
|
50
|
-
|
50
|
+
{%- include series.html -%}
|
51
51
|
|
52
|
-
|
52
|
+
</header> <!-- #page-header -->
|
53
53
|
|
54
|
-
|
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.
|
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:
|
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.
|
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.
|