jekyll-theme-plain 0.3.0 → 0.4.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: a56292e0d5c32fb483f906c463994447395af0f2b07ec099251463eece6e9394
4
- data.tar.gz: a620d3d5269341278a53fff411a985c8be04c12827c4a9c34c8871c61f73c53e
3
+ metadata.gz: 897177bb52d5ac27186a83fd46e2ad826b8a6dc9b2fd17a584d5131b5b20ee84
4
+ data.tar.gz: 8bf07e180081fcc9b675e0829109e9eb2420f29d1982bec336194813330b8203
5
5
  SHA512:
6
- metadata.gz: b4e63f9a50514023de9f227222d625d7b10b92ed7f3b7fd213adf334af8769d3d6a5932267edae51029b6f4d48c28da238bfeaf426c7b7b4063265662bb739e3
7
- data.tar.gz: 2e1afa65d2c77dc1c79aacbc713699afe145378c862f60a98dc0b7d37144aa23c9dafa43906c9bca2694b81a78ab18162ad9210bb8d8a32a118a074e44887f00
6
+ metadata.gz: b8e08ff4f9155c7ee13b7b68102783a2b9f0b4fbd4f2f995198b7195250efaa92e6a581434629cd172d908e9db0480c95f97fd0a7104e173a7870cef8cac453c
7
+ data.tar.gz: a15e03f511732319f4c8deb5715fb8e48d3299a6e40de66d91afee4cae14cf16b7efdf2e9a375eca414b1a513a5143a6c1d880403ec5669570e0cc8b675c446f
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
- # [Plain](https://jekyll-theme-plain.github.io/)
1
+ # Plain
2
2
 
3
3
  Plain is a plain text-like Jekyll theme for GitHub Pages.
4
4
 
5
- ## Usage
5
+ ## Templates
6
6
 
7
- Copy the [_config.yml](_config.yml) to your repo and edit it.
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
@@ -6,5 +6,4 @@
6
6
  white-space: -pre-wrap;
7
7
  white-space: -o-pre-wrap;
8
8
  white-space: pre-wrap;
9
- white-space: break-spaces;
10
9
  }
@@ -0,0 +1 @@
1
+ default.html
@@ -0,0 +1,9 @@
1
+ {%- include variables.html -%}
2
+
3
+ <!DOCTYPE html>
4
+ <html {%- if lang %} lang="{{- lang -}}"{%- endif -%}>
5
+ <head>{%- include head.html %}
6
+ </head>
7
+ <body>
8
+ {{ content }} </body>
9
+ </html>
@@ -0,0 +1 @@
1
+ default.html
@@ -0,0 +1 @@
1
+ default.html
data/_layouts/post.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: base
2
+ layout: default
3
3
  ---
4
4
 
5
5
  <pre>{{- content | xml_escape | replace: "&apos;", "&#39;" -}}</pre>
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.3.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-01-26 00:00:00.000000000 Z
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/base.css
49
+ - _includes/directory-listing.html
50
50
  - _includes/head.html
51
- - _includes/page-list.html
52
- - _includes/post-list.html
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: A plain text-like Jekyll theme for GitHub Pages
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
@@ -1,9 +0,0 @@
1
- {%- include variables.html -%}
2
-
3
- <!DOCTYPE html>
4
- <html {%- if lang %} lang="{{- lang -}}"{%- endif -%}>
5
- <head>{%- include head.html %}
6
- </head>
7
- <body>
8
- {{ content }} </body>
9
- </html>
File without changes
File without changes