grey-energy-theme 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: 36122cf86eba8fdc6ca8183c3b1f5ca9ae6cdfbc
4
- data.tar.gz: 23dcce8b6479236e769b414cd7c53a792acbc59f
3
+ metadata.gz: ca1e1e89ab415a5382710b2da77df1e1241d348e
4
+ data.tar.gz: ccad85dd8ba503022c2d3506c85128fe0fdfce18
5
5
  SHA512:
6
- metadata.gz: c229bfe980b51122d3aba1d051763dba953d0d2ac455c81dbb625521c7049862fce4f83ef453301f848c17b54d7d2637889119d2aef9e4984c62907dc34b42cf
7
- data.tar.gz: c1c066bf0d0b9fac6343b375f9cba45b9fa482bbdc7dbc1510c8dbeb8edc35e8f6155b87702be01076827fad13c19b99b26b87d16ebc19d722f2e48e97e4214a
6
+ metadata.gz: 583e221b10845f4ab15f9f5208ebb38b1ec178bbe5d43b1d46a69d4abb5e6c9e93e87dae24d7f784bdba82387c3032048ea909f46cf116291bc3d87ea98a114d
7
+ data.tar.gz: d02f78b459a941efd2a78cd23fb1908f611c52b165521d4758b390d9e37477852e054d141a87ebfc9ab93641d4d0368af0fc18a1d27e2ebad38604511819c3b9
@@ -0,0 +1,65 @@
1
+ # Grey Energy Jekyll Theme
2
+
3
+ *A CSS-animated grey theme for a tech blog*
4
+
5
+ [![Total gem downloads](https://img.shields.io/gem/dt/grey-energy-theme.svg "See on rubygems.org")][rubygems]
6
+ [![Latest version](https://img.shields.io/gem/v/grey-energy-theme.svg "See on rubygems.org")][rubygems]
7
+
8
+
9
+ ## Setup
10
+
11
+ Have an existing Jekyll project or create a new one with:
12
+
13
+ ```bash
14
+ jekyll new my-blog
15
+ ```
16
+
17
+ Make sure you have file `my-blog/archive.md` with the contents:
18
+
19
+ ```yaml
20
+ ---
21
+ layout: archive
22
+ ---
23
+ ```
24
+
25
+ Add desired settings from [_config.yml](./_config.yml).
26
+
27
+
28
+ ## Install theme
29
+
30
+ Replace mentions of theme "minima" in `Gemfile` with:
31
+
32
+ ```bash
33
+ gem "grey-energy-theme"
34
+ ```
35
+
36
+ Replace mentions of theme "minima" in `_config.yml` with:
37
+
38
+ ```bash
39
+ theme: grey-energy-theme
40
+ ```
41
+
42
+
43
+ ## Building Jekyll project and testing
44
+
45
+ Setup dependencies:
46
+
47
+ ```bash
48
+ cd my-blog
49
+ bundle install
50
+ ```
51
+
52
+ To build the project run:
53
+
54
+ ```bash
55
+ bundle exec jekyll build
56
+ ```
57
+
58
+ To test the project run and see `localhost:4000`:
59
+
60
+ ```bash
61
+ bundle exec jekyll serve
62
+ ```
63
+
64
+
65
+ [rubygems]: https://rubygems.org/gems/grey-energy-theme
@@ -1,19 +1,16 @@
1
1
  title: My Name | Blog
2
- short_name: Blog # this needs to be <= 12 characters
3
2
  description: |
4
3
  # My Name
5
4
 
6
5
  This is the blog of an awesome Software Engineer.
7
6
 
8
7
  This software engineer is an expert in typing fast and drinking coffee.
8
+ baseurl: ""
9
9
 
10
- baseurl: "" # example: /blog
11
-
12
- google_analyitics_id: # add id here
13
-
14
- github_username: username # add github username
15
- stackoverflow_username: 418274/username # copy your username from stack overflow like so: 418274/username
16
- stackexchange_username: 000000/username # copy your username from stack exchange like so: 147389/username
10
+ # Social settings
11
+ github_username: username
12
+ stackoverflow_username: 418274/username
13
+ stackexchange_username: 000000/username
17
14
  medium_username: # add medium username without @
18
15
  linkedin_username:
19
16
  twitter_username: # add twitter username without @
@@ -24,14 +21,11 @@ angellist_username:
24
21
  youtube_username:
25
22
  dribbble_username:
26
23
  bitbucket_username:
24
+ email: email@email.com
25
+ email-subject-line: "I've seen your awesome blog, let's talk"
27
26
 
28
-
29
- email: email@email.com # your-email@example.com
30
- email-subject-line: "I've seen your awesome blog, let's talk" # Feel free to alter
31
-
32
-
33
- # No need to alter the below
34
-
27
+ # Misc
35
28
  markdown: kramdown
36
29
  latest_post_count: 4
37
30
  date_format: "%Y-%0m-%0d"
31
+ google_analyitics_id: # add id here
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="archive-content">
6
+ <!-- List all posts... -->
7
+ {% if site.posts.size > 0 %}
8
+ <h1 class="page-heading">Posts</h1>
9
+ <ul class="post-list">
10
+ {% for post in site.posts %}
11
+ <li>
12
+ {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
13
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
14
+
15
+ <h2>
16
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
17
+ </h2>
18
+ </li>
19
+ {% endfor %}
20
+ </ul>
21
+ {% else %}
22
+ <p>Posts will be arriving soon...</p>
23
+ {% endif %}
24
+ </div>
@@ -5,6 +5,9 @@ layout: default
5
5
  <div class="home">
6
6
 
7
7
  <div class="home-main">
8
+ <div class="index-description">
9
+ {{ site.description | default: "Your description will be put here!" | markdownify }}
10
+ </div>
8
11
  {{ content }}
9
12
  </div>
10
13
 
@@ -1,24 +1,3 @@
1
1
  ---
2
- layout: default
2
+ layout: archive
3
3
  ---
4
-
5
- <div class="archive-content">
6
- <!-- List all posts... -->
7
- {% if site.posts.size > 0 %}
8
- <h1 class="page-heading">Posts</h1>
9
- <ul class="post-list">
10
- {% for post in site.posts %}
11
- <li>
12
- {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
13
- <span class="post-meta">{{ post.date | date: date_format }}</span>
14
-
15
- <h2>
16
- <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
17
- </h2>
18
- </li>
19
- {% endfor %}
20
- </ul>
21
- {% else %}
22
- <p>Posts will be arriving soon...</p>
23
- {% endif %}
24
- </div>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "grey-energy-theme"
3
- spec.version = "0.0.1"
3
+ spec.version = "0.0.2"
4
4
  spec.authors = ["Natalie Marleny"]
5
5
  spec.email = ["nataliemarleny@gmail.com"]
6
6
 
data/index.html CHANGED
@@ -1,7 +1,3 @@
1
1
  ---
2
2
  layout: home
3
3
  ---
4
-
5
- <div class="index-description">
6
- {{ site.description | markdownify }}
7
- </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grey-energy-theme
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
7
  - Natalie Marleny
@@ -50,10 +50,12 @@ files:
50
50
  - Gemfile
51
51
  - Gemfile.lock
52
52
  - LICENSE.txt
53
+ - README.md
53
54
  - _config.yml
54
55
  - _includes/footer.html
55
56
  - _includes/head.html
56
57
  - _includes/header.html
58
+ - _layouts/archive.html
57
59
  - _layouts/default.html
58
60
  - _layouts/home.html
59
61
  - _layouts/page.html