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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 131ce2f908c3a5d5e3f8ec6c769b06d58b84974f
4
- data.tar.gz: fb2865b9df63b88f788145c2706d76b5f10a00e5
3
+ metadata.gz: 7c72033eaf94735821d73c246bf180c6637662ca
4
+ data.tar.gz: 847273c1208e23a34dcfcab6015ac03a979fded3
5
5
  SHA512:
6
- metadata.gz: ad0fe5d4dab1fd18c6a9128742ded752f851aabc89ef58aaae4af9f869cc1c71b8e742fa899362dae369f57a15f5e3d77b041bcf4025438fb460db4637b27f91
7
- data.tar.gz: 235c3f7b6c30f817c29a8de3dce91a9f2c9dc97fa9ad89b1d76356ec7fb699f9b0489b99eda5c3db609b5d7b1406ea19cdaf431945d9a97e018ad071ac7c88bc
6
+ metadata.gz: 99c11cd3d5cc0bbbe45be0d2eb827378170b68d8a289edc16cad98e767d5d385a43e7fa03fb96f3f9003abae6acd596e2a25e90b202653a7ef8780e63ba7f023
7
+ data.tar.gz: 8986630fe1f7682e5dd655515d51d807706db3fe8785242aee83a18c3bf92c090a4b24bb99e431ead85abbd9eb63ff4bd185328d6e6d2a677ff9f61c0a851a72
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # composure
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
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, and/or sass.
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 https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
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 `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
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
- When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
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 [MIT License](https://opensource.org/licenses/MIT).
60
+ The theme is available as open source under the terms of the
61
+ [MIT License](https://opensource.org/licenses/MIT).
@@ -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
- <ul>
4
- <li>About</li>
5
- <li>Archive</li>
6
- </ul>
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>
@@ -1 +1,14 @@
1
- {{ content }}
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ <main>
8
+ {{ content }}
9
+ </main>
10
+
11
+ {% include footer.html %}
12
+
13
+ </body>
14
+ </html>
@@ -2,4 +2,10 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
5
+ <article>
6
+ <header>
7
+ <h1>{{ page.title }}</h1>
8
+ </header>
9
+
10
+ {{ content }}
11
+ </article>
@@ -2,4 +2,17 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - <Elliot Penson>
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
- - <elliot.penson@it.com>
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: http://penson.io/
70
+ homepage: https://github.com/ElliotPenson/composure
70
71
  licenses:
71
72
  - MIT
72
73
  metadata: {}