composure 0.0.1 → 0.0.2
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 +22 -8
- data/_includes/footer.html +12 -4
- data/_layouts/archive.html +21 -0
- data/_layouts/default.html +14 -1
- data/_layouts/page.html +7 -1
- data/_layouts/post.html +14 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c72033eaf94735821d73c246bf180c6637662ca
|
|
4
|
+
data.tar.gz: 847273c1208e23a34dcfcab6015ac03a979fded3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99c11cd3d5cc0bbbe45be0d2eb827378170b68d8a289edc16cad98e767d5d385a43e7fa03fb96f3f9003abae6acd596e2a25e90b202653a7ef8780e63ba7f023
|
|
7
|
+
data.tar.gz: 8986630fe1f7682e5dd655515d51d807706db3fe8785242aee83a18c3bf92c090a4b24bb99e431ead85abbd9eb63ff4bd185328d6e6d2a677ff9f61c0a851a72
|
data/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# composure
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
A simple Jekyll theme inspired by [Telegraph](telegra.ph).
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
@@ -28,20 +26,36 @@ Or install it yourself as:
|
|
|
28
26
|
|
|
29
27
|
## Usage
|
|
30
28
|
|
|
31
|
-
TODO: Write usage instructions here. Describe your available layouts, includes,
|
|
29
|
+
TODO: Write usage instructions here. Describe your available layouts, includes,
|
|
30
|
+
and/or sass.
|
|
32
31
|
|
|
33
32
|
## Contributing
|
|
34
33
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at
|
|
34
|
+
Bug reports and pull requests are welcome on GitHub at
|
|
35
|
+
https://github.com/ElliotPenson/composure. This project is intended to be a
|
|
36
|
+
safe, welcoming space for collaboration, and contributors are expected to
|
|
37
|
+
adhere to the [Contributor Covenant](http://contributor-covenant.org) code of
|
|
38
|
+
conduct.
|
|
36
39
|
|
|
37
40
|
## Development
|
|
38
41
|
|
|
39
42
|
To set up your environment to develop this theme, run `bundle install`.
|
|
40
43
|
|
|
41
|
-
Your theme is setup just like a normal Jekyll site! To test your theme, run
|
|
44
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run
|
|
45
|
+
`bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
|
|
46
|
+
This starts a Jekyll server using your theme. Add pages, documents, data, etc.
|
|
47
|
+
like normal to test your theme's contents. As you make modifications to your
|
|
48
|
+
theme and to your content, your site will regenerate and you should see the
|
|
49
|
+
changes in the browser after a refresh, just like normal.
|
|
50
|
+
|
|
51
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and
|
|
52
|
+
`_sass` tracked with Git will be released.
|
|
42
53
|
|
|
43
|
-
|
|
54
|
+
Create a new gem for composure with `gem build composure.gemspec`. Install this
|
|
55
|
+
gem locally with `gem install ./composure-VERSION.gem`. Share the gem on
|
|
56
|
+
rubygems.org with `gem push composure-VERSION.gem`.
|
|
44
57
|
|
|
45
58
|
## License
|
|
46
59
|
|
|
47
|
-
The theme is available as open source under the terms of the
|
|
60
|
+
The theme is available as open source under the terms of the
|
|
61
|
+
[MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/footer.html
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
<footer>
|
|
2
|
+
<a class="site-title" href="{{ "/" | relative_url }}">
|
|
3
|
+
<h1>{{ site.title }}<h1>
|
|
4
|
+
<h2>{{ site.author }}</h2>
|
|
5
|
+
</a>
|
|
6
|
+
|
|
2
7
|
<nav>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
{% for my_page in site.pages %}
|
|
9
|
+
{% if my_page.title %}
|
|
10
|
+
<a href="{{ my_page.url | relative_url }}">
|
|
11
|
+
{{ my_page.title }}
|
|
12
|
+
</a>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% endfor %}
|
|
7
15
|
</nav>
|
|
8
16
|
</footer>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<h1>Archive</h1>
|
|
7
|
+
|
|
8
|
+
{{ content }}
|
|
9
|
+
|
|
10
|
+
<ul>
|
|
11
|
+
{% for post in site.posts %}
|
|
12
|
+
<li>
|
|
13
|
+
{{ post.date | date: "%b %-d, %Y"}}
|
|
14
|
+
|
|
15
|
+
<h2>
|
|
16
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
|
17
|
+
</h2>
|
|
18
|
+
</li>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
</ul>
|
|
21
|
+
</div>
|
data/_layouts/default.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -2,4 +2,17 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<article>
|
|
6
|
+
<header>
|
|
7
|
+
<h1>{{ page.title }}</h1>
|
|
8
|
+
<p>
|
|
9
|
+
<time datetime="{{ page.date | date_to_xmlschema }}">
|
|
10
|
+
{{ page.date | date: "%b %-d, %Y" }}
|
|
11
|
+
</time>
|
|
12
|
+
</p>
|
|
13
|
+
</header>
|
|
14
|
+
|
|
15
|
+
<div>
|
|
16
|
+
{{ content }}
|
|
17
|
+
</div>
|
|
18
|
+
</article>
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: composure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Elliot Penson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
@@ -54,7 +54,7 @@ dependencies:
|
|
|
54
54
|
version: '10.0'
|
|
55
55
|
description:
|
|
56
56
|
email:
|
|
57
|
-
- <
|
|
57
|
+
- <elliotpenson@gmail.com>
|
|
58
58
|
executables: []
|
|
59
59
|
extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
|
@@ -63,10 +63,11 @@ files:
|
|
|
63
63
|
- README.md
|
|
64
64
|
- _includes/footer.html
|
|
65
65
|
- _includes/head.html
|
|
66
|
+
- _layouts/archive.html
|
|
66
67
|
- _layouts/default.html
|
|
67
68
|
- _layouts/page.html
|
|
68
69
|
- _layouts/post.html
|
|
69
|
-
homepage:
|
|
70
|
+
homepage: https://github.com/ElliotPenson/composure
|
|
70
71
|
licenses:
|
|
71
72
|
- MIT
|
|
72
73
|
metadata: {}
|