jekyll-theme-nn 0.1.7 → 0.1.8

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
- SHA1:
3
- metadata.gz: 97830414c5ecb8791ff659bb3eb73eb313a7a19d
4
- data.tar.gz: 9098919f3eff4174dcb6c3ae9a71a84efed39e96
2
+ SHA256:
3
+ metadata.gz: 2d2e41254b70f12cef0acf4e5e0d72f63dbd8d0802468243cd72a797ef7446c3
4
+ data.tar.gz: 03c2017bf6c6bafe939218db60b212622bc1e91ca35ae6bcbea5059bc112514f
5
5
  SHA512:
6
- metadata.gz: ce8ea4939a4cfd7c3fd7037d9911d73985e8a663cdeae736b85261c83d960fca40db05ba4d49b5fbbeaacf3ccfa342a8daa0c0ae91336ee1439c3bb58261612a
7
- data.tar.gz: 0f8b797e49b9f1e81f053bc04974c0d449b8e7f1b0fa940c0caef5f86160e2a893f97865507a77b4fed307eeb7e666f96e88780990d5dfd6d3e08f4fee296ebe
6
+ metadata.gz: c3efa86e3d4c7a0850dfc3ecce3de7702878865e57d33a320c8058a698ef1db237bc54d5836d1a7c93f2f4f0755a50156b37bc1694ac8a752875406aa631615d
7
+ data.tar.gz: f5fb132766bc823c9ea8df4779abe922c1a07e4cd025202be4e0940775a5dbc7298ee2e0bae3098ff524cfc14a3b30317c389f3b59e1d86444cd0b68b3011626
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Nicholas Nooney
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.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Nicholas Nooney
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 CHANGED
@@ -1,60 +1,60 @@
1
- [![Gem](https://img.shields.io/gem/v/jekyll-theme-nn.svg)](https://rubygems.org/gems/jekyll-theme-nn)
2
-
3
- # jekyll-theme-nn
4
-
5
- This repository contains a Jekyll Theme setup as a Gem. This theme
6
- is used for my own personal site. You are welcome to use it as
7
- well, if you'd like.
8
-
9
- ![The Front Page of the Theme](docs/front.png?raw=true "Front Page")
10
-
11
- ## Installation
12
-
13
- Add this line to your Jekyll site's `Gemfile`:
14
-
15
- ```ruby
16
- gem "jekyll-theme-nn"
17
- ```
18
-
19
- And add this line to your Jekyll site's `_config.yml`:
20
-
21
- ```yaml
22
- theme: jekyll-theme-nn
23
- ```
24
-
25
- And then execute:
26
-
27
- $ bundle
28
-
29
- Or install it yourself as:
30
-
31
- $ gem install jekyll-theme-nn
32
-
33
- ## Usage
34
-
35
- This theme supports the following layouts:
36
-
37
- ## Contributing
38
-
39
- Bug reports and pull requests are welcome on GitHub at
40
- https://github.com/nnooney/jekyll-theme-nn. Since this is a personal project, I
41
- will review and make updates at my own pace.
42
-
43
- ## License
44
-
45
- This theme is available as open source under the terms of the
46
- [MIT License](https://opensource.org/licenses/MIT). A copy of this license is
47
- included in this repository at [LICENSE.txt](LICENSE.txt).
48
-
49
- This project also makes use of third party licenses that are distributed under
50
- their own terms. These libraries are listed below:
51
-
52
- - This project makes use of [Bulma](https://bulma.io). Bulma is included in this
53
- project at `assets/vendor/bulma`. See Bulma's
54
- [LICENSE](assets/vendor/bulma/LICENSE).
55
- - This project uses [Feather](https://feathericons.com/) Icons. Feather is
56
- included in this project at `assets/vendor/feather`. See Feather's
57
- [LICENSE](assets/vendor/feather/LICENSE).
58
- - This project uses [Nord](https://arcticicestudio.github.io/nord/) colors.
59
- These colors are included at `_sass/vendor/nord`. See Nord's
60
- [LICENSE.md](_sass/vendor/nord/LICENSE.md).
1
+ [![Gem](https://img.shields.io/gem/v/jekyll-theme-nn.svg)](https://rubygems.org/gems/jekyll-theme-nn)
2
+
3
+ # jekyll-theme-nn
4
+
5
+ This repository contains a Jekyll Theme setup as a Gem. This theme
6
+ is used for my own personal site. You are welcome to use it as
7
+ well, if you'd like.
8
+
9
+ ![The Front Page of the Theme](docs/front.png?raw=true "Front Page")
10
+
11
+ ## Installation
12
+
13
+ Add this line to your Jekyll site's `Gemfile`:
14
+
15
+ ```ruby
16
+ gem "jekyll-theme-nn"
17
+ ```
18
+
19
+ And add this line to your Jekyll site's `_config.yml`:
20
+
21
+ ```yaml
22
+ theme: jekyll-theme-nn
23
+ ```
24
+
25
+ And then execute:
26
+
27
+ $ bundle
28
+
29
+ Or install it yourself as:
30
+
31
+ $ gem install jekyll-theme-nn
32
+
33
+ ## Usage
34
+
35
+ This theme supports the following layouts:
36
+
37
+ ## Contributing
38
+
39
+ Bug reports and pull requests are welcome on GitHub at
40
+ https://github.com/nnooney/jekyll-theme-nn. Since this is a personal project, I
41
+ will review and make updates at my own pace.
42
+
43
+ ## License
44
+
45
+ This theme is available as open source under the terms of the
46
+ [MIT License](https://opensource.org/licenses/MIT). A copy of this license is
47
+ included in this repository at [LICENSE.txt](LICENSE.txt).
48
+
49
+ This project also makes use of third party licenses that are distributed under
50
+ their own terms. These libraries are listed below:
51
+
52
+ - This project makes use of [Bulma](https://bulma.io). Bulma is included in this
53
+ project at `assets/vendor/bulma`. See Bulma's
54
+ [LICENSE](assets/vendor/bulma/LICENSE).
55
+ - This project uses [Feather](https://feathericons.com/) Icons. Feather is
56
+ included in this project at `assets/vendor/feather`. See Feather's
57
+ [LICENSE](assets/vendor/feather/LICENSE).
58
+ - This project uses [Nord](https://arcticicestudio.github.io/nord/) colors.
59
+ These colors are included at `_sass/vendor/nord`. See Nord's
60
+ [LICENSE.md](_sass/vendor/nord/LICENSE.md).
@@ -1,9 +1,9 @@
1
- {% capture symbol %}
2
- /assets/vendor/feather/feather-sprite.svg#{{ include.icon }}
3
- {% endcapture %}
4
-
5
- <span class="icon {{ include.class }}">
6
- <svg class="feather feather-{{ include.icon }}">
7
- <use xlink:href="{{ symbol | strip | relative_url }}" />
8
- </svg>
9
- </span>
1
+ {% capture symbol %}
2
+ /assets/vendor/feather/feather-sprite.svg#{{ include.icon }}
3
+ {% endcapture %}
4
+
5
+ <span class="icon {{ include.class }}">
6
+ <svg class="feather feather-{{ include.icon }}">
7
+ <use xlink:href="{{ symbol | strip | relative_url }}" />
8
+ </svg>
9
+ </span>
@@ -0,0 +1,10 @@
1
+ <div class="featured-image-container">
2
+ <figure class="is-pulled-left">
3
+ <div class="box">
4
+ {% asset
5
+ "{{ page.featured-image }}"
6
+ magick:resize=400x400>
7
+ alt="{{ page.featured-alt }}" %}
8
+ </div>
9
+ </figure>
10
+ </div>
@@ -1,26 +1,25 @@
1
- <section class="hero is-info is-bold">
2
- <div class="hero-body">
3
- <div class="container">
4
- {% if site.logo %}
5
- <div class="level">
6
- <div class="level-left">
7
- <div class="level-item">
8
- <img src="{{ site.logo | escape }}"
9
- alt="{{ site.logo_alt | escape }}">
10
- </div>
11
- <div class="container">
12
- {% endif %}
13
- <h1 class="title">
14
- {{ site.title | escape }}
15
- </h1>
16
- <h2 class="subtitle">
17
- {{ site.description | escape }}
18
- </h2>
19
- {% if site.logo %}
20
- </div>
21
- </div>
22
- </div>
23
- {% endif %}
24
- </div>
25
- </div>
26
- </section>
1
+ <section class="hero is-info is-bold">
2
+ <div class="hero-body">
3
+ <div class="container">
4
+ {% if site.logo %}
5
+ <div class="level">
6
+ <div class="level-left">
7
+ <div class="level-item">
8
+ {% asset "{{ site.logo }}" alt="{{ site.logo_alt }}" %}
9
+ </div>
10
+ <div class="container">
11
+ {% endif %}
12
+ <h1 class="title">
13
+ {{ site.title | escape }}
14
+ </h1>
15
+ <h2 class="subtitle">
16
+ {{ site.description | escape }}
17
+ </h2>
18
+ {% if site.logo %}
19
+ </div>
20
+ </div>
21
+ </div>
22
+ {% endif %}
23
+ </div>
24
+ </div>
25
+ </section>
@@ -1,34 +1,34 @@
1
- <p>
2
- This
3
- <a href="https://github.com/nnooney/jekyll-theme-nn">theme</a>
4
- was made with:
5
- </p>
6
- <div class="level is-mobile made-with">
7
- <div class="level-item">
8
- <a href="https://jekyllrb.com" target="_blank">
9
- <img src="{{ "/assets/images/jekyll.png" | relative_url }}"
10
- alt="Bulma: a modern CSS framework">
11
- </a>
12
- </div>
13
- <span class="icon"></span>
14
- <div class="level-item">
15
- <a href="https://bulma.io" target="_blank">
16
- <img src="{{ "/assets/images/bulma.png" | relative_url }}"
17
- alt="Jekyll: Transform your plain text into static websites">
18
- </a>
19
- </div>
20
- <span class="icon"></span>
21
- <div class="level-item">
22
- <a href="https://feathericons.com" target="_blank">
23
- {% include components/feather-icon.html
24
- icon="feather" class="has-text-grey" %}
25
- </a>
26
- </div>
27
- <span class="icon"></span>
28
- <div class="level-item">
29
- <a href="https://arcticicestudio.github.io/nord/" target="_blank">
30
- <img src="{{ "/assets/images/nord.svg" | relative_url }}"
31
- alt="Nord: An arctic, north-bluish color palette">
32
- </a>
33
- </div>
34
- </div>
1
+ <p>
2
+ This
3
+ <a href="https://github.com/nnooney/jekyll-theme-nn">theme</a>
4
+ was made with:
5
+ </p>
6
+ <div class="level is-mobile made-with">
7
+ <div class="level-item">
8
+ <a href="https://jekyllrb.com" target="_blank">
9
+ <img src="{{ "/assets/images/jekyll.png" | relative_url }}"
10
+ alt="Bulma: a modern CSS framework">
11
+ </a>
12
+ </div>
13
+ <span class="icon"></span>
14
+ <div class="level-item">
15
+ <a href="https://bulma.io" target="_blank">
16
+ <img src="{{ "/assets/images/bulma.png" | relative_url }}"
17
+ alt="Jekyll: Transform your plain text into static websites">
18
+ </a>
19
+ </div>
20
+ <span class="icon"></span>
21
+ <div class="level-item">
22
+ <a href="https://feathericons.com" target="_blank">
23
+ {% include components/feather-icon.html
24
+ icon="feather" class="has-text-grey" %}
25
+ </a>
26
+ </div>
27
+ <span class="icon"></span>
28
+ <div class="level-item">
29
+ <a href="https://arcticicestudio.github.io/nord/" target="_blank">
30
+ <img src="{{ "/assets/images/nord.svg" | relative_url }}"
31
+ alt="Nord: An arctic, north-bluish color palette">
32
+ </a>
33
+ </div>
34
+ </div>
@@ -1,16 +1,16 @@
1
- <aside class="menu is-hidden-mobile">
2
- <p class="menu-label">
3
- Categories
4
- </p>
5
- <ul class="menu-list">
6
- {% for category in site.categories %}
7
- {% assign cat_name = category | first %}
8
- {% assign cat_url = "/category/" | append: cat_name | append: ".html" %}
9
- <li>
10
- <a href="{{ cat_url | relative_url }}">
11
- {{ cat_name }}
12
- </a>
13
- </li>
14
- {% endfor %}
15
- </ul>
16
- </aside>
1
+ <aside class="menu is-hidden-mobile">
2
+ <p class="menu-label">
3
+ Categories
4
+ </p>
5
+ <ul class="menu-list">
6
+ {% for category in site.categories %}
7
+ {% assign cat_name = category | first %}
8
+ {% assign cat_url = "/category/" | append: cat_name | append: ".html" %}
9
+ <li>
10
+ <a href="{{ cat_url | relative_url }}">
11
+ {{ cat_name }}
12
+ </a>
13
+ </li>
14
+ {% endfor %}
15
+ </ul>
16
+ </aside>
@@ -1,40 +1,40 @@
1
- <article class="media">
2
- <div class="media-content">
3
- <div class="content">
4
- <div class="level">
5
- <div class="level-left">
6
- <div class="wrapper">
7
- <p class="title is-4">
8
- <a href="{{ post.url | relative_url }}">
9
- {{ post.title | escape }}
10
- </a>
11
- </p>
12
- <p class="subtitle is-6">
13
- {{ post.date | date: "%b %-d, %Y" }}
14
- </p>
15
- </div>
16
- </div>
17
- <div class="level-right">
18
- <div class="tags">
19
- {% for category in post.categories %}
20
- <span class="tag is-info">
21
- {{ category | escape }}
22
- </span>
23
- {% endfor %}
24
- {% for tag in post.tags %}
25
- <span class="tag is-light">
26
- {{ tag | escape }}
27
- </span>
28
- {% if forloop.index > 3 %}
29
- {% break %}
30
- {% endif %}
31
- {% endfor %}
32
- </div>
33
- </div>
34
- </div>
35
- <div class="post-excerpt">
36
- {{ post.excerpt }}
37
- </div>
38
- </div>
39
- </div>
40
- </article>
1
+ <article class="media">
2
+ <div class="media-content">
3
+ <div class="content">
4
+ <div class="level">
5
+ <div class="level-left">
6
+ <div class="wrapper">
7
+ <p class="title is-4">
8
+ <a href="{{ post.url | relative_url }}">
9
+ {{ post.title | escape }}
10
+ </a>
11
+ </p>
12
+ <p class="subtitle is-6">
13
+ {{ post.date | date: "%b %-d, %Y" }}
14
+ </p>
15
+ </div>
16
+ </div>
17
+ <div class="level-right">
18
+ <div class="tags">
19
+ {% for category in post.categories %}
20
+ <span class="tag is-info">
21
+ {{ category | escape }}
22
+ </span>
23
+ {% endfor %}
24
+ {% for tag in post.tags %}
25
+ <span class="tag is-light">
26
+ {{ tag | escape }}
27
+ </span>
28
+ {% if forloop.index > 3 %}
29
+ {% break %}
30
+ {% endif %}
31
+ {% endfor %}
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div class="post-excerpt">
36
+ {{ post.excerpt }}
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </article>
@@ -1,9 +1,9 @@
1
- <section class="recent-posts">
2
- {% for post in site.posts %}
3
- {% include components/post-snippet.html %}
4
-
5
- {% if forloop.last == false %}
6
- <hr>
7
- {% endif %}
8
- {% endfor %}
9
- </section>
1
+ <section class="recent-posts">
2
+ {% for post in site.posts %}
3
+ {% include components/post-snippet.html %}
4
+
5
+ {% if forloop.last == false %}
6
+ <hr>
7
+ {% endif %}
8
+ {% endfor %}
9
+ </section>