jekyll-theme-simpleton 0.5.0 → 0.6.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 +28 -0
- data/_includes/copyright.html +7 -0
- data/_includes/footer.html +3 -1
- data/_includes/header.html +7 -7
- data/_includes/menu.html +19 -13
- data/_includes/post-listing.html +55 -0
- data/_includes/series.html +33 -0
- data/_layouts/default.html +17 -10
- data/_layouts/home.html +4 -34
- data/_layouts/page.html +43 -26
- data/_layouts/post.html +46 -27
- data/_sass/abstracts/variables/_colors.scss +5 -0
- data/_sass/components/_list-style-none.scss +3 -0
- data/_sass/themes/_simpleton.scss +7 -0
- data/assets/css/style.scss +1 -1
- metadata +23 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fc4a4c50ae6c2acb5ff77588e93b3797d633e25c6951103366cfc36d2e1ef47
|
4
|
+
data.tar.gz: 9437a3a8736e0da86f1e8e23c73ee535b84a5688e3ccda099d753df186fd8773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76d35157b70a39efa1b9bf7967772811a2f022824c5313ff118532530aac863b3860d60d45d08638142098583bed192e1b9ab07e00c4e5ffce3a6dfe63c1012e
|
7
|
+
data.tar.gz: 83ebeeab28bd679444f5ccddcf999ced8dc2cca720c99278601fe1539f690ced559fdeb4e5d37f4c0b011fd08a72395bda2644beb20c2b9a18084026b5eaa600
|
data/_config.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Global Configuration
|
2
2
|
title: Jekyll Theme Simpleton
|
3
|
+
author: anwait
|
3
4
|
|
4
5
|
plugins:
|
5
6
|
- jekyll-seo-tag
|
@@ -13,6 +14,27 @@ defaults:
|
|
13
14
|
type: "posts"
|
14
15
|
values:
|
15
16
|
layout: "post"
|
17
|
+
-
|
18
|
+
scope:
|
19
|
+
path: ""
|
20
|
+
type: "pages"
|
21
|
+
values:
|
22
|
+
layout: "page"
|
23
|
+
|
24
|
+
show_excerpts: true
|
25
|
+
|
26
|
+
## Exclude
|
27
|
+
### Exclude directories and/or files from the conversion. These exclusions are
|
28
|
+
### relative to the site's source directory and cannot be outside the source
|
29
|
+
### directory.
|
30
|
+
exclude:
|
31
|
+
- Rakefile
|
32
|
+
- "*.gemspec"
|
33
|
+
- package.json
|
34
|
+
- README.md
|
35
|
+
- LICENSE.md
|
36
|
+
- yarn.lock
|
37
|
+
- pkg/
|
16
38
|
|
17
39
|
|
18
40
|
# Build Command Options
|
@@ -26,3 +48,9 @@ profile: true
|
|
26
48
|
### Cause a build to fail if there is a YAML syntax error in a page's front
|
27
49
|
### matter.
|
28
50
|
strict_front_matter: true
|
51
|
+
|
52
|
+
|
53
|
+
sass:
|
54
|
+
style: compressed
|
55
|
+
load_paths:
|
56
|
+
- node_modules
|
data/_includes/footer.html
CHANGED
data/_includes/header.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
<header id="header">
|
2
2
|
<h1 id="site-title">
|
3
|
-
{{ site.title }}
|
3
|
+
{{- site.title -}}
|
4
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,17 +1,23 @@
|
|
1
|
-
{
|
1
|
+
{%- assign sorted_pages = site.html_pages | sort: "menu_weight", "last" -%}
|
2
2
|
|
3
3
|
<nav id="menu">
|
4
4
|
<ul class="menu-list">
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
|
6
|
+
{%- for p in sorted_pages -%}
|
7
|
+
|
8
|
+
{%- unless p.hidden -%}
|
9
|
+
|
10
|
+
<li class="menu-item {% if p.url == page.url %}menu-selected{% endif %}">
|
11
|
+
<a class="menu-link" href="{{ p.url }}">
|
12
|
+
|
13
|
+
{{- p.title -}}
|
14
|
+
|
15
|
+
</a> <!-- .menu-link -->
|
16
|
+
</li> <!-- .menu-item -->
|
17
|
+
|
18
|
+
{%- endunless -%}
|
19
|
+
|
20
|
+
{%- endfor -%}
|
21
|
+
|
16
22
|
</ul> <!-- .menu-list -->
|
17
|
-
|
23
|
+
</nav> <!-- #menu -->
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{%- if site.paginate -%}
|
2
|
+
|
3
|
+
{%- assign posts = paginator.posts -%}
|
4
|
+
|
5
|
+
{%- else -%}
|
6
|
+
|
7
|
+
{%- assign posts = site.posts -%}
|
8
|
+
|
9
|
+
{%- endif -%}
|
10
|
+
|
11
|
+
{%- if posts.size > 0 -%}
|
12
|
+
|
13
|
+
{%- assign date_format = site.date_format -%}
|
14
|
+
|
15
|
+
<section id="post-listing">
|
16
|
+
<header id="post-listing-header">
|
17
|
+
<h2 id="post-listing-heading">
|
18
|
+
|
19
|
+
{{- posts.list_title | default: "Posts" -}}
|
20
|
+
|
21
|
+
</h2> <!-- #post-listing-heading -->
|
22
|
+
</header> <!-- #post-listing-header -->
|
23
|
+
<ul class="post-list">
|
24
|
+
|
25
|
+
{%- for post in posts -%}
|
26
|
+
|
27
|
+
<li class="post-item">
|
28
|
+
<span class="post-meta">
|
29
|
+
|
30
|
+
{{- post.date | date: date_format -}}
|
31
|
+
|
32
|
+
</span>
|
33
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
34
|
+
{{ post.title | escape }}
|
35
|
+
</a>
|
36
|
+
|
37
|
+
{%- if site.show_excerpts -%}
|
38
|
+
|
39
|
+
<div class="post-excerpt">
|
40
|
+
|
41
|
+
{{- post.excerpt -}}
|
42
|
+
|
43
|
+
</div>
|
44
|
+
|
45
|
+
{%- endif -%}
|
46
|
+
|
47
|
+
|
48
|
+
</li> <!-- .post-item -->
|
49
|
+
|
50
|
+
{%- endfor -%}
|
51
|
+
|
52
|
+
</ul> <!-- .post-list -->
|
53
|
+
</section> <!-- #post-listing -->
|
54
|
+
|
55
|
+
{%- endif -%}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{%- if page.series -%}
|
2
|
+
|
3
|
+
{%- assign series_posts = site.posts | where: "series", page.series | reverse -%}
|
4
|
+
|
5
|
+
<ol id="series">
|
6
|
+
|
7
|
+
{%- for post in series_posts -%}
|
8
|
+
|
9
|
+
<li>
|
10
|
+
<a href="{{ post.url | relative_url }}">
|
11
|
+
|
12
|
+
{%- if post.url == page.url -%}
|
13
|
+
|
14
|
+
<em>
|
15
|
+
|
16
|
+
{%- endif -%}
|
17
|
+
|
18
|
+
{{- post.title -}}
|
19
|
+
|
20
|
+
{%- if post.url == page.url -%}
|
21
|
+
|
22
|
+
</em>
|
23
|
+
|
24
|
+
{%- endif -%}
|
25
|
+
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
|
29
|
+
{%- endfor -%}
|
30
|
+
|
31
|
+
</ol> <!-- #series -->
|
32
|
+
|
33
|
+
{%- endif -%}
|
data/_layouts/default.html
CHANGED
@@ -1,13 +1,20 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<div id="layout">
|
8
|
+
|
9
|
+
{%- include header.html -%}
|
10
|
+
|
11
|
+
<main id="main">
|
12
|
+
{{- content -}}
|
13
|
+
</main> <!-- #main -->
|
14
|
+
|
15
|
+
{%- include footer.html -%}
|
16
|
+
|
17
|
+
</div> <!-- #layout -->
|
18
|
+
</body>
|
19
|
+
|
13
20
|
</html>
|
data/_layouts/home.html
CHANGED
@@ -2,38 +2,8 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
6
|
-
{{ content }}
|
7
|
-
</
|
5
|
+
<div id="hero">
|
6
|
+
{{- content -}}
|
7
|
+
</div> <!-- #hero -->
|
8
8
|
|
9
|
-
{
|
10
|
-
{% assign posts = paginator.posts %}
|
11
|
-
{% else %}
|
12
|
-
{% assign posts = site.posts %}
|
13
|
-
{% endif %}
|
14
|
-
|
15
|
-
{% if posts.size > 0 %}
|
16
|
-
{% assign date_format = site.date_format %}
|
17
|
-
<section id="post-listing">
|
18
|
-
<header id="post-listing-header">
|
19
|
-
<h2 id="post-listing-heading">
|
20
|
-
{{ posts.list_title | default: "Posts" }}
|
21
|
-
</h2> <!-- #post-listing-heading -->
|
22
|
-
</header> <!-- #post-listing-header -->
|
23
|
-
<ul class="post-list">
|
24
|
-
{% for post in posts %}
|
25
|
-
<li class="post-item">
|
26
|
-
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
27
|
-
<h3>
|
28
|
-
<a class="post-link" href="{{ post.url | relative_url }}">
|
29
|
-
{{ post.title | escape }}
|
30
|
-
</a>
|
31
|
-
</h3>
|
32
|
-
{%- if site.show_excerpts -%}
|
33
|
-
{{ post.excerpt }}
|
34
|
-
{% endif %}
|
35
|
-
</li> <!-- .post-item -->
|
36
|
-
{% endfor %}
|
37
|
-
</ul> <!-- .post-list -->
|
38
|
-
</section> <!-- #post-listing -->
|
39
|
-
{%- endif -%}
|
9
|
+
{%- include post-listing.html -%}
|
data/_layouts/page.html
CHANGED
@@ -4,32 +4,49 @@ layout: default
|
|
4
4
|
|
5
5
|
<section id="content">
|
6
6
|
<header id="page-header">
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
7
|
+
|
8
|
+
{%- if page.title -%}
|
9
|
+
|
10
|
+
<h2 id="page-title">
|
11
|
+
|
12
|
+
{{- page.title -}}
|
13
|
+
|
14
|
+
</h2> <!-- #page-title -->
|
15
|
+
|
16
|
+
{%- endif -%}
|
17
|
+
|
18
|
+
{%- if page.subtitle -%}
|
19
|
+
|
20
|
+
<p id="page-subtitle">
|
21
|
+
|
22
|
+
{{- page.subtitle -}}
|
23
|
+
|
24
|
+
</p> <!-- #page-subtitle -->
|
25
|
+
|
26
|
+
{%- endif -%}
|
27
|
+
|
28
|
+
{%- if page.author -%}
|
29
|
+
|
30
|
+
<p id="page-author">
|
31
|
+
|
32
|
+
{{- page.author -}}
|
33
|
+
|
34
|
+
</p> <!-- #page-author -->
|
35
|
+
|
36
|
+
{%- endif -%}
|
37
|
+
|
38
|
+
{%- if page.date -%}
|
39
|
+
|
40
|
+
<p id="page-date">
|
41
|
+
|
42
|
+
{{- page.date -}}
|
43
|
+
|
44
|
+
</p> <!-- #page-date -->
|
45
|
+
|
46
|
+
{%- endif -%}
|
47
|
+
|
30
48
|
</header>
|
31
49
|
|
32
|
-
|
33
|
-
|
34
|
-
</article>
|
50
|
+
{{- content -}}
|
51
|
+
|
35
52
|
</section> <!-- #content -->
|
data/_layouts/post.html
CHANGED
@@ -2,36 +2,55 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{
|
5
|
+
{%- assign date_format = site.date_format -%}
|
6
6
|
|
7
7
|
<section id="content">
|
8
8
|
<header id="page-header">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
9
|
+
|
10
|
+
{%- if page.title -%}
|
11
|
+
|
12
|
+
<h2 id="page-title">
|
13
|
+
|
14
|
+
{{- page.title -}}
|
15
|
+
|
16
|
+
</h2> <!-- #page-title -->
|
17
|
+
|
18
|
+
{%- endif -%}
|
19
|
+
|
20
|
+
{%- if page.subtitle -%}
|
21
|
+
|
22
|
+
<p id="page-subtitle">
|
23
|
+
|
24
|
+
{{- page.subtitle -}}
|
25
|
+
|
26
|
+
</p> <!-- #page-subtitle -->
|
27
|
+
|
28
|
+
{%- endif -%}
|
29
|
+
|
30
|
+
{%- if page.author -%}
|
31
|
+
|
32
|
+
<p id="page-author">
|
33
|
+
|
34
|
+
{{- page.author -}}
|
35
|
+
|
36
|
+
</p> <!-- #page-author -->
|
37
|
+
|
38
|
+
{%- endif -%}
|
39
|
+
|
40
|
+
{%- if page.date -%}
|
41
|
+
|
42
|
+
<p id="page-date">
|
43
|
+
|
44
|
+
{{- page.date | date: date_format -}}
|
45
|
+
|
46
|
+
</p> <!-- #page-date -->
|
47
|
+
|
48
|
+
{%- endif -%}
|
49
|
+
|
50
|
+
{%- include series.html -%}
|
51
|
+
|
32
52
|
</header> <!-- #page-header -->
|
33
53
|
|
34
|
-
|
35
|
-
|
36
|
-
</article>
|
54
|
+
{{- content -}}
|
55
|
+
|
37
56
|
</section>
|
@@ -14,3 +14,8 @@ $text-grey-color: #111111;
|
|
14
14
|
$menu-background-color: $ubuntu-orange-color !default;
|
15
15
|
$menu-text-color: $white-color !default;
|
16
16
|
$menu-separator-color: $warm-grey-color !default;
|
17
|
+
|
18
|
+
|
19
|
+
// Default Colors
|
20
|
+
$primary-text-color: $black-color !default;
|
21
|
+
$secondary-text-color: $warm-grey-color !default;
|
data/assets/css/style.scss
CHANGED
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.6.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
|
+
date: 2021-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: webrick
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,10 +76,13 @@ files:
|
|
62
76
|
- LICENSE.md
|
63
77
|
- README.md
|
64
78
|
- _config.yml
|
79
|
+
- _includes/copyright.html
|
65
80
|
- _includes/footer.html
|
66
81
|
- _includes/head.html
|
67
82
|
- _includes/header.html
|
68
83
|
- _includes/menu.html
|
84
|
+
- _includes/post-listing.html
|
85
|
+
- _includes/series.html
|
69
86
|
- _layouts/default.html
|
70
87
|
- _layouts/home.html
|
71
88
|
- _layouts/page.html
|
@@ -83,6 +100,7 @@ files:
|
|
83
100
|
- _sass/base/_normalize.scss
|
84
101
|
- _sass/base/_typography.scss
|
85
102
|
- _sass/components/_hero.scss
|
103
|
+
- _sass/components/_list-style-none.scss
|
86
104
|
- _sass/components/_nav.scss
|
87
105
|
- _sass/components/_text-align.scss
|
88
106
|
- _sass/layout/_gallery.scss
|
@@ -108,16 +126,16 @@ require_paths:
|
|
108
126
|
- lib
|
109
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
128
|
requirements:
|
111
|
-
- - "
|
129
|
+
- - "~>"
|
112
130
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
131
|
+
version: 3.pre.0
|
114
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
133
|
requirements:
|
116
134
|
- - ">="
|
117
135
|
- !ruby/object:Gem::Version
|
118
136
|
version: '0'
|
119
137
|
requirements: []
|
120
|
-
rubygems_version: 3.2.
|
138
|
+
rubygems_version: 3.2.18
|
121
139
|
signing_key:
|
122
140
|
specification_version: 4
|
123
141
|
summary: A very simple jekyll theme with almost no css.
|