jekyll-theme-plain 0.3.0 → 0.4.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 +4 -4
- data/README.md +5 -3
- data/_includes/directory-listing.html +20 -0
- data/_includes/post.css +0 -1
- data/_layouts/base.html +1 -0
- data/_layouts/default.html +9 -0
- data/_layouts/home.html +1 -0
- data/_layouts/page.html +1 -0
- data/_layouts/post.html +1 -1
- metadata +9 -7
- data/_includes/base.css +0 -0
- data/_includes/static-file-list.html +0 -10
- data/_layouts/base.html +0 -9
- /data/_includes/{page-list.html → page-listing.html} +0 -0
- /data/_includes/{post-list.html → post-listing.html} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897177bb52d5ac27186a83fd46e2ad826b8a6dc9b2fd17a584d5131b5b20ee84
|
4
|
+
data.tar.gz: 8bf07e180081fcc9b675e0829109e9eb2420f29d1982bec336194813330b8203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e08ff4f9155c7ee13b7b68102783a2b9f0b4fbd4f2f995198b7195250efaa92e6a581434629cd172d908e9db0480c95f97fd0a7104e173a7870cef8cac453c
|
7
|
+
data.tar.gz: a15e03f511732319f4c8deb5715fb8e48d3299a6e40de66d91afee4cae14cf16b7efdf2e9a375eca414b1a513a5143a6c1d880403ec5669570e0cc8b675c446f
|
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,20 @@
|
|
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: "/" -}}">{{- path -}}</a>
|
17
|
+
</li>
|
18
|
+
{%- endfor %}
|
19
|
+
</ul>
|
20
|
+
{%- endif %}
|
data/_includes/post.css
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.4.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -46,14 +46,16 @@ extra_rdoc_files: []
|
|
46
46
|
files:
|
47
47
|
- LICENSE
|
48
48
|
- README.md
|
49
|
-
- _includes/
|
49
|
+
- _includes/directory-listing.html
|
50
50
|
- _includes/head.html
|
51
|
-
- _includes/page-
|
52
|
-
- _includes/post-
|
51
|
+
- _includes/page-listing.html
|
52
|
+
- _includes/post-listing.html
|
53
53
|
- _includes/post.css
|
54
|
-
- _includes/static-file-list.html
|
55
54
|
- _includes/variables.html
|
56
55
|
- _layouts/base.html
|
56
|
+
- _layouts/default.html
|
57
|
+
- _layouts/home.html
|
58
|
+
- _layouts/page.html
|
57
59
|
- _layouts/post.html
|
58
60
|
homepage: https://github.com/jekyll-theme-plain/jekyll-theme-plain
|
59
61
|
licenses:
|
@@ -77,5 +79,5 @@ requirements: []
|
|
77
79
|
rubygems_version: 3.5.5
|
78
80
|
signing_key:
|
79
81
|
specification_version: 4
|
80
|
-
summary:
|
82
|
+
summary: Plain text-like Jekyll theme for GitHub Pages
|
81
83
|
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 %}
|
data/_layouts/base.html
DELETED
File without changes
|
File without changes
|