jekyll-theme-redux 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +59 -0
- data/_includes/head.html +6 -0
- data/_layouts/default.html +36 -0
- data/_layouts/home.html +28 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +11 -0
- metadata +135 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e5c28c93d40494b3e7203328ef9f9fcff48b827b
|
4
|
+
data.tar.gz: 1497e7af280f88a3aba7de3faf5e4d5371d1d8c6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 65bc9d21c2d34028c8233a0ea175f2e88aa07feb83f1e9906008296b4a1affe0a827b146acc38c596e16e7f61c87b258fbb138bee0c60988b0830e88c5a68cbf
|
7
|
+
data.tar.gz: e1cbb655c8b0baf0ef0066bfe9a696b7512bdfc354e3e92e987227b4d80469623276554c961e88215c3dcf93ca4b89c03ec515534fedc4c977b7b1042bb8a230
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Laurent Boileau
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# jekyll-theme-redux
|
2
|
+
|
3
|
+
An absurdly barebone Jekyll theme.
|
4
|
+
|
5
|
+
Let the browser do the heavy lifting. Inspired by [Poole][poole].
|
6
|
+
|
7
|
+
![Screen Shot](/screenshot.png "Screen Shot")
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-redux"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-redux
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-redux
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
Use it as is or as a launchpad for your own creations.
|
34
|
+
|
35
|
+
### Configuration
|
36
|
+
|
37
|
+
The following `_config.yml` options are leveraged:
|
38
|
+
|
39
|
+
```yaml
|
40
|
+
author: # information about the author
|
41
|
+
name: # the author's name
|
42
|
+
url: # the author's homepage url
|
43
|
+
|
44
|
+
navigation: # a collection of links to display in the masthead
|
45
|
+
- title: About
|
46
|
+
url: /about
|
47
|
+
```
|
48
|
+
|
49
|
+
## Changelog
|
50
|
+
|
51
|
+
The changelog can be consulted [here][changelog].
|
52
|
+
|
53
|
+
## License
|
54
|
+
|
55
|
+
The theme is available as open source under the terms of the [MIT License][license].
|
56
|
+
|
57
|
+
[poole]: https://github.com/poole/poole
|
58
|
+
[changelog]: CHANGELOG.md
|
59
|
+
[license]: LICENSE.txt
|
data/_includes/head.html
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<title>{{ site.title }}{% if page.title %}: {{ page.title }}{% endif %}</title>
|
4
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }} RSS" href="{{ "/feed.xml" | relative_url }}">
|
5
|
+
<link rel="alternate" type="application/json" title="{{ site.title | escape }} JSON" href="{{ "/feed.json" | relative_url }}">
|
6
|
+
</head>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div id="container">
|
6
|
+
<header class="masthead">
|
7
|
+
<h3 class="masthead-title">
|
8
|
+
<a href="{{ "/" | relative_url }}" title="Home">{{ site.title }}</a>
|
9
|
+
</h3>
|
10
|
+
{% if site.navigation %}
|
11
|
+
<nav class="masthead-navigation">
|
12
|
+
<ol>
|
13
|
+
{% for item in site.navigation %}
|
14
|
+
<li>
|
15
|
+
<a href="{{ item.url }}">{{ item.title }}</a>
|
16
|
+
</li>
|
17
|
+
{% endfor %}
|
18
|
+
</ol>
|
19
|
+
</nav>
|
20
|
+
{% endif %}
|
21
|
+
</header>
|
22
|
+
<main>
|
23
|
+
{{ content }}
|
24
|
+
</main>
|
25
|
+
<hr>
|
26
|
+
<footer class="colophon">
|
27
|
+
© <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>
|
28
|
+
{% if site.author.url %}
|
29
|
+
<a href="{{ site.author.url }}">{{ site.author.name }}</a>
|
30
|
+
{% else %}
|
31
|
+
{{ site.author.name }}
|
32
|
+
{% endif %}
|
33
|
+
</footer>
|
34
|
+
</div>
|
35
|
+
</body>
|
36
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="posts">
|
6
|
+
{% for post in paginator.posts %}
|
7
|
+
<article class="post">
|
8
|
+
<h1 class="post-title">
|
9
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
10
|
+
</h1>
|
11
|
+
{{ post.content }}
|
12
|
+
<footer class="post-footer">
|
13
|
+
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date: "%B %e, %Y" }}</time>
|
14
|
+
</footer>
|
15
|
+
</article>
|
16
|
+
{% endfor %}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
{% if paginator.next_page or paginator.previous_page %}
|
20
|
+
<nav class="pagination">
|
21
|
+
{% if paginator.next_page %}
|
22
|
+
<a class="pagination-item previous" href="{{ paginator.next_page_path | relative_url }}">Previous</a>
|
23
|
+
{% endif %}
|
24
|
+
{% if paginator.previous_page %}
|
25
|
+
<a class="pagination-item next" href="{{ paginator.previous_page_path | relative_url }}">Next</a>
|
26
|
+
{% endif %}
|
27
|
+
</nav>
|
28
|
+
{% endif %}
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post">
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
7
|
+
{{ content }}
|
8
|
+
<footer class="post-footer">
|
9
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date: "%B %e, %Y" }}</time>
|
10
|
+
</footer>
|
11
|
+
</article>
|
metadata
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-redux
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Laurent Boileau
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-feed
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.9'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-json-feed
|
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'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.12'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.12'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- developer@laurentboileau.ca
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- LICENSE.txt
|
105
|
+
- README.md
|
106
|
+
- _includes/head.html
|
107
|
+
- _layouts/default.html
|
108
|
+
- _layouts/home.html
|
109
|
+
- _layouts/page.html
|
110
|
+
- _layouts/post.html
|
111
|
+
homepage: https://github.com/laurentboileau/jekyll-theme-redux
|
112
|
+
licenses:
|
113
|
+
- MIT
|
114
|
+
metadata: {}
|
115
|
+
post_install_message:
|
116
|
+
rdoc_options: []
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
requirements: []
|
130
|
+
rubyforge_project:
|
131
|
+
rubygems_version: 2.6.14
|
132
|
+
signing_key:
|
133
|
+
specification_version: 4
|
134
|
+
summary: An absurdly barebone Jekyll theme.
|
135
|
+
test_files: []
|