jekyll-theme-nn 0.1.15 → 0.1.16

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: 131ab3b40487038d5f525d59c8e1f3c931cbb65f
4
- data.tar.gz: 05c0e8ae831d0023979cac7631d42f5ed8340b03
3
+ metadata.gz: 8ff2545f1b12b40030fd7885146c46cd5fb90e3c
4
+ data.tar.gz: ccf924596674d3cec7544d6be954c58f03325315
5
5
  SHA512:
6
- metadata.gz: cea84f2a4606bf6caba4c3384c5cc24f86db23a8641dbc7e0367a1890a4a1612ab4168a2f44b39110351c315fbcab49f433c8876c95e6122f602b6f870941081
7
- data.tar.gz: 64d7b1f9e89d5714a435d3e9fa581be53afe7c7e2226f7c87610dcc336c9826baffd950ee1a4cabe7e4259c05e49e756571aaa17eea4ac7ea91ade6675de5093
6
+ metadata.gz: ed64b6669c43ec3251edf3550fa366051e7ee1cf1758205563058951fe8eedcd23cdd77ad8d62fb0e8ecb72a3d3535abc24b2ae7f0de1c524b5040a3fda32fa2
7
+ data.tar.gz: 60acad4647b443260009bb28370cbb1fe4988a3a60c6323459a445e15c653d7299f728d1278114d77b85c97f7b12e5c0e98b9f40039d003f1fd7a0d4f83d3b6c
@@ -7,14 +7,16 @@
7
7
  <div class="level-item">
8
8
  {% asset "{{ site.logo }}" alt="{{ site.logo_alt }}" %}
9
9
  </div>
10
- <div class="container">
10
+ <div class="level-item">
11
11
  {% endif %}
12
- <h1 class="title">
13
- {{ site.title | escape }}
14
- </h1>
15
- <h2 class="subtitle">
16
- {{ site.description | escape }}
17
- </h2>
12
+ <div class="container">
13
+ <h1 class="title is-spaced">
14
+ {{ site.title | escape }}
15
+ </h1>
16
+ <h2 class="subtitle">
17
+ {{ site.description | escape }}
18
+ </h2>
19
+ </div>
18
20
  {% if site.logo %}
19
21
  </div>
20
22
  </div>
@@ -10,21 +10,18 @@
10
10
  alt="Bulma: a modern CSS framework">
11
11
  </a>
12
12
  </div>
13
- <span class="icon"></span>
14
13
  <div class="level-item">
15
14
  <a href="https://bulma.io" target="_blank">
16
15
  <img src="{{ "/assets/images/bulma.png" | relative_url }}"
17
16
  alt="Jekyll: Transform your plain text into static websites">
18
17
  </a>
19
18
  </div>
20
- <span class="icon"></span>
21
19
  <div class="level-item">
22
20
  <a href="https://feathericons.com" target="_blank">
23
21
  {% include components/feather-icon.html
24
22
  icon="feather" class="has-text-grey" %}
25
23
  </a>
26
24
  </div>
27
- <span class="icon"></span>
28
25
  <div class="level-item">
29
26
  <a href="https://arcticicestudio.github.io/nord/" target="_blank">
30
27
  <img src="{{ "/assets/images/nord.svg" | relative_url }}"
@@ -32,7 +32,7 @@
32
32
  {% if page.featured-image and page.featured-image.src %}
33
33
  <meta content="{{ site.url }}{% asset '{{ page.featured-image.src }}' @path %}"
34
34
  property="og:image">
35
- {% else %}
35
+ {% elsif site.logo %}
36
36
  <meta content="{{ site.url }}{% asset '{{ site.logo }}' @path %}"
37
37
  property="og:image">
38
38
  {% endif %}
@@ -53,7 +53,7 @@ This template expects the following variables to be defined when including it:
53
53
  {{ post.excerpt }}
54
54
  </div>
55
55
  </div>
56
- {% if page.featured-image %}
56
+ {% if include.post.featured-image %}
57
57
  </div>
58
58
  </div>
59
59
  {% endif %}
@@ -0,0 +1,36 @@
1
+ <table>
2
+ <thead>
3
+ <tr>
4
+ <th>Date</th>
5
+ <th>Title</th>
6
+ <th>Category</th>
7
+ <th>Tags</th>
8
+ </tr>
9
+ </thead>
10
+ <tbody>
11
+ {% for post in site.posts %}
12
+ <tr>
13
+ <td>{{ post.date | date: "%Y-%m-%d" }}</td>
14
+ <td>
15
+ <a href="{{ post.url | relative_url }}">
16
+ {{ post.title }}
17
+ </a>
18
+ </td>
19
+ <td>
20
+ {% for category in post.categories %}
21
+ <span class="tag is-info">
22
+ {{ category | escape }}
23
+ </span>
24
+ {% endfor %}
25
+ </td>
26
+ <td>
27
+ {% for tag in post.tags %}
28
+ <span class="tag is-light">
29
+ {{ tag | escape }}
30
+ </span>
31
+ {% endfor %}
32
+ </td>
33
+ </tr>
34
+ {% endfor %}
35
+ </tbody>
36
+ </table>
@@ -1,9 +1,29 @@
1
+ {% assign show_more = false %}
2
+ {% if include.limit > 0 %}
3
+ {% assign limit = include.limit %}
4
+ {% else %}
5
+ {% assign limit = 0 %}
6
+ {% endif %}
7
+
1
8
  <section class="recent-posts">
2
9
  {% for post in site.posts %}
3
10
  {% include components/post-snippet.html post=post %}
4
11
 
5
- {% if forloop.last == false %}
12
+ {% if forloop.index == limit %}
13
+ {% if site.index_url %}
14
+ {% assign show_more = true %}
15
+ {% endif %}
16
+ {% break %}
17
+ {% else %}
6
18
  <hr>
7
19
  {% endif %}
8
20
  {% endfor %}
21
+
22
+ {% if show_more %}
23
+ <hr>
24
+ <a class="button is-primary is-pulled-right"
25
+ href="{{ site.index_url | relative_url }}">
26
+ See More Posts
27
+ </a>
28
+ {% endif %}
9
29
  </section>
@@ -0,0 +1,44 @@
1
+ <p>
2
+
3
+ </p>
4
+ <div class="level is-mobile made-with">
5
+ <div class="level-item">
6
+ <a href="{{ "/feed.xml" | relative_url }}">
7
+ {% include components/feather-icon.html
8
+ icon="rss" class="has-text-dark" %}
9
+ </a>
10
+ </div>
11
+ {% if site.github_username %}
12
+ <div class="level-item">
13
+ <a href="https://github.com/{{ site.github_username }}">
14
+ {% include components/feather-icon.html
15
+ icon="github" class="has-text-dark" %}
16
+ </a>
17
+ </div>
18
+ {% endif %}
19
+ {% if site.gitlab_username %}
20
+ <div class="level-item">
21
+ <a href="https://gitlab.com/{{ site.gitlab_username }}">
22
+ {% include components/feather-icon.html
23
+ icon="gitlab" class="has-text-dark" %}
24
+ </a>
25
+ </div>
26
+ {% endif %}
27
+ {% if site.twitter_username %}
28
+ <div class="level-item">
29
+ <a href="https://twitter.com/{{ site.twitter_username }}">
30
+ {% include components/feather-icon.html
31
+ icon="twitter" class="has-text-dark" %}
32
+ </a>
33
+ </div>
34
+ {% endif %}
35
+ {% if site.linkedin_username %}
36
+ <div class="level-item">
37
+ <a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
38
+ {% include components/feather-icon.html
39
+ icon="linkedin" class="has-text-dark" %}
40
+ </a>
41
+ </div>
42
+ {% endif %}
43
+ </div>
44
+ <p>&copy; Copyright {{ site.time | date: "%Y" }} {{ site.author }}</p>
@@ -1,43 +1,10 @@
1
1
  <footer class="footer">
2
2
  <div class="container">
3
3
  <div class="columns">
4
- <div class="column content">
5
- <p>
6
- <a href="{{ "/feed.xml" | relative_url }}">
7
- {% include components/feather-icon.html
8
- icon="rss" class="has-text-dark" %}
9
- </a>
10
- {% if site.github_username %}
11
- <span class="icon"></span>
12
- <a href="https://github.com/{{ site.github_username }}">
13
- {% include components/feather-icon.html
14
- icon="github" class="has-text-dark" %}
15
- </a>
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 %}
24
- {% if site.twitter_username %}
25
- <span class="icon"></span>
26
- <a href="https://twitter.com/{{ site.twitter_username }}">
27
- {% include components/feather-icon.html
28
- icon="twitter" class="has-text-dark" %}
29
- </a>
30
- {% endif %}
31
- {% if site.linkedin_username %}
32
- <span class="icon"></span>
33
- <a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
34
- {% include components/feather-icon.html
35
- icon="linkedin" class="has-text-dark" %}
36
- </a>
37
- {% endif %}
38
- </p>
39
- <p>&copy; Copyright {{ site.time | date: "%Y" }} {{ site.author }}</p>
4
+ <div class="column is-narrow content">
5
+ {% include components/social.html %}
40
6
  </div>
7
+ <div class="column is-hidden-mobile"></div>
41
8
  <div class="column is-narrow content">
42
9
  {% include components/made-with.html %}
43
10
  </div>
@@ -8,4 +8,4 @@ menu: true
8
8
  {{ content }}
9
9
  </section>
10
10
 
11
- {% include components/recent-posts.html %}
11
+ {% include components/recent-posts.html limit=10 %}
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.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Nooney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-21 00:00:00.000000000 Z
11
+ date: 2019-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,9 +68,11 @@ files:
68
68
  - _includes/components/menu.html
69
69
  - _includes/components/open-graph.html
70
70
  - _includes/components/post-snippet.html
71
+ - _includes/components/post-table.html
71
72
  - _includes/components/recent-posts.html
72
73
  - _includes/components/series-footer.html
73
74
  - _includes/components/series-header.html
75
+ - _includes/components/social.html
74
76
  - _includes/footer.html
75
77
  - _includes/head.html
76
78
  - _includes/header.html