jekyll-theme-nn 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 478bc42263d576366943b2204142d08e2986959d9e96196887440e9da5b9626c
4
- data.tar.gz: 48c93c0c500bf4c912eae2fa515df61e9044d339cfa4696f3bde09d933c224bf
3
+ metadata.gz: 37bda14da2997f96a52222ecd5fc612bbc1b4b070e7f7348e7c6ec6b492f177a
4
+ data.tar.gz: bd933962b7ec1ee1f49e334b9dcbbfb72ec9f58ad651c77a3ce7dfd7bff1420b
5
5
  SHA512:
6
- metadata.gz: 16bde156db1f472804f2b322344cee881312a3d530722d646556fbce9955729dfb3d50e91c20e3313cbf45b9c1733a9df8b6f71f4a89ac91d7bf7e1510299c36
7
- data.tar.gz: 5ee6b3025de3dd00b88c57d5b364bd131e315e1a3d22a5d4dded0f67daab9fe574be572770f05bbf3d12482b7ed570efffc165517ec0043dc183df1d4ce45e01
6
+ metadata.gz: 7b63f0578cd8f6ecc448f50d69942af9787180bfce0ea576274ac8b2ceb8c46973d444741524edfeeb1b2e170791e877529e6c5db700b39f3f6d157e7f95e9ef
7
+ data.tar.gz: a76719b454f4f5151272517680792cd69b2f8b695b9563255687bd24b7e0578be54b2de4eefc49c14f5ddb4338da64e7b6a49ed3bd5ef9b473784a49c1fe7d14
data/README.md CHANGED
@@ -1,9 +1,12 @@
1
+ [![Gem](https://img.shields.io/gem/v/jekyll-theme-nn.svg)](https://rubygems.org/gems/jekyll-theme-nn)
2
+
1
3
  # jekyll-theme-nn
2
4
 
3
5
  This repository contains a Jekyll Theme setup as a Gem. This theme
4
6
  is used for my own personal site. You are welcome to use it as
5
7
  well, if you'd like.
6
8
 
9
+ ![The Front Page of the Theme](docs/front.png?raw=true "Front Page")
7
10
 
8
11
  ## Installation
9
12
 
@@ -4,7 +4,13 @@
4
4
  </p>
5
5
  <ul class="menu-list">
6
6
  {% for category in site.categories %}
7
- <li><a href="#">{{ category | first }}</a></li>
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>
8
14
  {% endfor %}
9
15
  </ul>
10
16
  </aside>
@@ -14,6 +14,13 @@
14
14
  icon="github" class="has-text-dark" %}
15
15
  </a>
16
16
  {% endif %}
17
+ {% if site.gitlab_username %}
18
+ <span class="icon"></span>
19
+ <a href="https://gitlab.com/{{ site.gitlab_username }}">
20
+ {% include components/feather-icon.html
21
+ icon="gitlab" class="has-text-dark" %}
22
+ </a>
23
+ {% endif %}
17
24
  {% if site.twitter_username %}
18
25
  <span class="icon"></span>
19
26
  <a href="https://twitter.com/{{ site.twitter_username }}">
@@ -21,6 +28,13 @@
21
28
  icon="twitter" class="has-text-dark" %}
22
29
  </a>
23
30
  {% endif %}
31
+ {% if site.linkedin_username %}
32
+ <span class="icon"></span>
33
+ <a href="https://linkedin.com/in/{{ site.linkedin_username }}">
34
+ {% include components/feather-icon.html
35
+ icon="linkedin" class="has-text-dark" %}
36
+ </a>
37
+ {% endif %}
24
38
  </p>
25
39
  <p>&copy; Copyright {{ site.time | date: "%Y" }} {{ site.author }}</p>
26
40
  </div>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <p class="title is-2 has-text-info">
6
+ {{ page.title }}
7
+ </p>
8
+ <p class="subtitle is-6">
9
+ {{ page.posts | size }} posts in this {{ page.key }}
10
+ </p>
11
+
12
+ {% assign group_data = site.data[page.key] | where: "name", page.slug | first %}
13
+ {% if group_data %}
14
+ <p class="content">
15
+ {{ group_data.content }}
16
+ </p>
17
+ {% endif %}
18
+
19
+ <section class="posts-group">
20
+ {% for post in page.posts %}
21
+ {% include components/post-snippet.html %}
22
+
23
+ {% if forloop.last == false %}
24
+ <hr>
25
+ {% endif %}
26
+ {% endfor %}
27
+ </section>
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Nooney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-20 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -74,9 +74,9 @@ files:
74
74
  - _includes/header.html
75
75
  - _layouts/default.html
76
76
  - _layouts/front.html
77
+ - _layouts/group.html
77
78
  - _layouts/page.html
78
79
  - _layouts/post.html
79
- - _layouts/series.html
80
80
  - _sass/_bulma-tweaks.scss
81
81
  - _sass/_highlight.scss
82
82
  - _sass/nn-main.scss
data/_layouts/series.html DELETED
@@ -1,17 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <p class="title is-2 has-text-info">
6
- {{ page.title }}
7
- </p>
8
-
9
- <section class="posts-series">
10
- {% for post in page.posts %}
11
- {% include components/post-snippet.html %}
12
-
13
- {% if forloop.last == false %}
14
- <hr>
15
- {% endif %}
16
- {% endfor %}
17
- </section>