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 +4 -4
- data/README.md +65 -0
- data/_config.yml +9 -15
- data/_layouts/archive.html +24 -0
- data/_layouts/home.html +3 -0
- data/archive.html +1 -22
- data/grey-energy-theme.gemspec +1 -1
- data/index.html +0 -4
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca1e1e89ab415a5382710b2da77df1e1241d348e
|
4
|
+
data.tar.gz: ccad85dd8ba503022c2d3506c85128fe0fdfce18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 583e221b10845f4ab15f9f5208ebb38b1ec178bbe5d43b1d46a69d4abb5e6c9e93e87dae24d7f784bdba82387c3032048ea909f46cf116291bc3d87ea98a114d
|
7
|
+
data.tar.gz: d02f78b459a941efd2a78cd23fb1908f611c52b165521d4758b390d9e37477852e054d141a87ebfc9ab93641d4d0368af0fc18a1d27e2ebad38604511819c3b9
|
data/README.md
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
# Grey Energy Jekyll Theme
|
2
|
+
|
3
|
+
*A CSS-animated grey theme for a tech blog*
|
4
|
+
|
5
|
+
[][rubygems]
|
6
|
+
[][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
|
data/_config.yml
CHANGED
@@ -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
|
-
|
11
|
-
|
12
|
-
|
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>
|
data/_layouts/home.html
CHANGED
data/archive.html
CHANGED
@@ -1,24 +1,3 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
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>
|
data/grey-energy-theme.gemspec
CHANGED
data/index.html
CHANGED
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.
|
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
|