jekyll-theme-plain 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/_includes/directory-listing.html +22 -0
- data/_includes/{page-list.html → page-listing.html} +3 -1
- data/_includes/{post-list.html → post-listing.html} +3 -1
- data/_includes/post.css +0 -6
- data/_includes/variables.html +3 -0
- data/_layouts/base.html +1 -0
- data/_layouts/default.html +10 -0
- data/_layouts/home.html +1 -0
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +8 -2
- metadata +25 -9
- data/_includes/base.css +0 -0
- data/_includes/static-file-list.html +0 -10
- data/_layouts/base.html +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c47220729027c892d99ee0a36d1f13b96446dc4eae40a0fe24a96442f1bb061
|
4
|
+
data.tar.gz: 795b626b81d9f392e7a941128a5ff765d5dcdf14e794b3b13656b79ac8c96a5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc50b15e43233e995658fab4de112aa620db5449ecaf195c9c6f2cfe389871333cc4dc0941f63cc480158b7ac78f4f81a09d36016181017a71c060c21031161
|
7
|
+
data.tar.gz: 1db4b9081ce60816125d667fa7578df6ab3bf8b5e56f528f1116f4011de8c7f6709e779683a5e1395e2dbd71074527cb474e3e8014feef3edbe351192214b6d8
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# Plain
|
2
2
|
|
3
3
|
Plain is a plain text-like Jekyll theme for GitHub Pages.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Templates
|
6
6
|
|
7
|
-
|
7
|
+
* [blog](https://github.com/jekyll-theme-plain/blog)
|
8
|
+
* [directory-listing](https://github.com/jekyll-theme-plain/directory-listing)
|
9
|
+
* [single-page](https://github.com/jekyll-theme-plain/single-page)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{%-
|
2
|
+
assign files =
|
3
|
+
site.static_files
|
4
|
+
| where_exp: "file", "file.extname contains '.htm'"
|
5
|
+
-%}
|
6
|
+
|
7
|
+
{%- if files.size > 0 %} <ul>
|
8
|
+
{%- for file in files -%}
|
9
|
+
{%-
|
10
|
+
assign path =
|
11
|
+
file.path
|
12
|
+
| remove_first: page.url
|
13
|
+
| remove_first: "/index.html"
|
14
|
+
%}
|
15
|
+
<li>
|
16
|
+
<a href="{{- path | append: "/" -}}">
|
17
|
+
{{- path -}}
|
18
|
+
</a>
|
19
|
+
</li>
|
20
|
+
{%- endfor %}
|
21
|
+
</ul>
|
22
|
+
{%- endif %}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
{%- if site.posts.size > 0 %} <ul>
|
2
2
|
{%- for post in site.posts %}
|
3
3
|
<li>
|
4
|
-
<a href="{{- post.url | remove_first: page.url -}}">
|
4
|
+
<a href="{{- post.url | remove_first: page.url -}}">
|
5
|
+
{{- post.slug -}}
|
6
|
+
</a>
|
5
7
|
</li>
|
6
8
|
{%- endfor %}
|
7
9
|
</ul>
|
data/_includes/post.css
CHANGED
data/_includes/variables.html
CHANGED
data/_layouts/base.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default.html
|
data/_layouts/home.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default.html
|
data/_layouts/page.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default.html
|
data/_layouts/post.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-plain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yuuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '230'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '230'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: webrick
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description:
|
42
56
|
email:
|
43
57
|
executables: []
|
@@ -46,14 +60,16 @@ extra_rdoc_files: []
|
|
46
60
|
files:
|
47
61
|
- LICENSE
|
48
62
|
- README.md
|
49
|
-
- _includes/
|
63
|
+
- _includes/directory-listing.html
|
50
64
|
- _includes/head.html
|
51
|
-
- _includes/page-
|
52
|
-
- _includes/post-
|
65
|
+
- _includes/page-listing.html
|
66
|
+
- _includes/post-listing.html
|
53
67
|
- _includes/post.css
|
54
|
-
- _includes/static-file-list.html
|
55
68
|
- _includes/variables.html
|
56
69
|
- _layouts/base.html
|
70
|
+
- _layouts/default.html
|
71
|
+
- _layouts/home.html
|
72
|
+
- _layouts/page.html
|
57
73
|
- _layouts/post.html
|
58
74
|
homepage: https://github.com/jekyll-theme-plain/jekyll-theme-plain
|
59
75
|
licenses:
|
@@ -77,5 +93,5 @@ requirements: []
|
|
77
93
|
rubygems_version: 3.5.5
|
78
94
|
signing_key:
|
79
95
|
specification_version: 4
|
80
|
-
summary:
|
96
|
+
summary: Plain text-like Jekyll theme for GitHub Pages.
|
81
97
|
test_files: []
|
data/_includes/base.css
DELETED
File without changes
|
@@ -1,10 +0,0 @@
|
|
1
|
-
{%- assign files = site.static_files | where: "extname", ".html" -%}
|
2
|
-
{%- if files.size > 0 %} <ul>
|
3
|
-
{%- for file in files -%}
|
4
|
-
{%- assign path = file.path | remove_first: page.url | remove_first: "/index.html" %}
|
5
|
-
<li>
|
6
|
-
<a href="{{- path | append: "/" -}}">{{- path -}}</a>
|
7
|
-
</li>
|
8
|
-
{%- endfor %}
|
9
|
-
</ul>
|
10
|
-
{%- endif %}
|