jekyll-theme-nn 0.1.1
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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/_includes/components/feather-icon.html +9 -0
- data/_includes/components/hero.html +29 -0
- data/_includes/components/made-with.html +27 -0
- data/_includes/components/menu.html +10 -0
- data/_includes/components/recent-posts.html +47 -0
- data/_includes/components/series-footer.html +145 -0
- data/_includes/components/series-header.html +12 -0
- data/_includes/footer.html +32 -0
- data/_includes/head.html +29 -0
- data/_includes/header.html +34 -0
- data/_layouts/default.html +35 -0
- data/_layouts/front.html +11 -0
- data/_layouts/page.html +29 -0
- data/_layouts/post.html +43 -0
- data/assets/images/bulma.png +0 -0
- data/assets/images/jekyll.png +0 -0
- data/assets/nn.scss +22 -0
- data/assets/vendor/bulma/LICENSE +21 -0
- data/assets/vendor/bulma/bulma.css +10720 -0
- data/assets/vendor/feather/LICENSE +21 -0
- data/assets/vendor/feather/feather-sprite.svg +802 -0
- metadata +109 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 378ff04c27d2e590ebe5721ce2c6badafa152b74
|
4
|
+
data.tar.gz: fe7b326d424a9e55064b9de41d769c863879d386
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e47ec274abfd9f3a6577ec75647bf7b9a4784e1cdcb4aef0332229d4c218f84d6cd9565e76ca5207c01f6c6dd7115b550823c2866289e1a90dce5b133867753e
|
7
|
+
data.tar.gz: 1480ba30485e6459df2728a4088d6537d26eab9c8b0ad21a75d34d54d44b93e8ec964f704d367bb1ae542e29cd8db59fce27877935a58c8953f40a76dac0fe4c
|
data/LICENSE.txt
ADDED
@@ -0,0 +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.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# jekyll-theme-nn
|
2
|
+
|
3
|
+
This repository contains a Jekyll Theme setup as a Gem. This theme
|
4
|
+
is used for my own personal site. You are welcome to use it as
|
5
|
+
well, if you'd like.
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your Jekyll site's `Gemfile`:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem "jekyll-theme-nn"
|
14
|
+
```
|
15
|
+
|
16
|
+
And add this line to your Jekyll site's `_config.yml`:
|
17
|
+
|
18
|
+
```yaml
|
19
|
+
theme: jekyll-theme-nn
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install jekyll-theme-nn
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
This theme supports the following layouts:
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
Bug reports and pull requests are welcome on GitHub at
|
37
|
+
https://github.com/nnooney/jekyll-theme-nn. Since this is a personal project, I
|
38
|
+
will review and make updates at my own pace.
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
This theme is available as open source under the terms of the
|
43
|
+
[MIT License](https://opensource.org/licenses/MIT). A copy of this license is
|
44
|
+
included in this repository at [LICENSE.txt](LICENSE.txt).
|
45
|
+
|
46
|
+
This project also makes use of third party licenses that are distributed under
|
47
|
+
their own terms. These libraries are listed below:
|
48
|
+
|
49
|
+
- This project makes use of [Bulma](https://bulma.io). Bulma is included in this
|
50
|
+
project at `assets/vendor/bulma`. See Bulma's
|
51
|
+
[LICENSE](assets/vendor/bulma/LICENSE).
|
52
|
+
- This project uses [Feather](https://feathericons.com/) Icons. Feather is
|
53
|
+
included in this project at `assets/vendor/feather`. See Feather's
|
54
|
+
[LICENSE](assets/vendor/feather/LICENSE).
|
@@ -0,0 +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>
|
@@ -0,0 +1,29 @@
|
|
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
|
+
<figure class="image is-96x96">
|
9
|
+
<img src="{{ site.logo | escape }}"
|
10
|
+
alt="{{ site.logo_alt | escape }}"
|
11
|
+
width="100%">
|
12
|
+
</figure>
|
13
|
+
</div>
|
14
|
+
<div class="wrapper">
|
15
|
+
{% endif %}
|
16
|
+
<h1 class="title">
|
17
|
+
{{ site.title | escape }}
|
18
|
+
</h1>
|
19
|
+
<h2 class="subtitle">
|
20
|
+
{{ site.description | escape }}
|
21
|
+
</h2>
|
22
|
+
{% if site.logo %}
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
{% endif %}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</section>
|
@@ -0,0 +1,27 @@
|
|
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">
|
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">
|
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">
|
23
|
+
{% include components/feather-icon.html
|
24
|
+
icon="feather" class="has-text-grey" %}
|
25
|
+
</a>
|
26
|
+
</div>
|
27
|
+
</div>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<section class="recent-posts">
|
2
|
+
{% for post in site.posts %}
|
3
|
+
<article class="media">
|
4
|
+
<div class="media-content">
|
5
|
+
<div class="content">
|
6
|
+
<div class="level">
|
7
|
+
<div class="level-left">
|
8
|
+
<div class="wrapper">
|
9
|
+
<p class="title is-4">
|
10
|
+
<a href="{{ post.url | relative_url }}">
|
11
|
+
{{ post.title | escape }}
|
12
|
+
</a>
|
13
|
+
</p>
|
14
|
+
<p class="subtitle is-6">
|
15
|
+
{{ post.date | date: "%b %-d, %Y" }}
|
16
|
+
</p>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class="level-right">
|
20
|
+
<div class="tags">
|
21
|
+
{% for category in post.categories %}
|
22
|
+
<span class="tag is-info">
|
23
|
+
{{ category | escape }}
|
24
|
+
</span>
|
25
|
+
{% endfor %}
|
26
|
+
{% for tag in post.tags %}
|
27
|
+
<span class="tag is-light">
|
28
|
+
{{ tag | escape }}
|
29
|
+
</span>
|
30
|
+
{% if forloop.index > 3 %}
|
31
|
+
{% break %}
|
32
|
+
{% endif %}
|
33
|
+
{% endfor %}
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<div class="post-excerpt">
|
38
|
+
{{ post.excerpt }}
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
</article>
|
43
|
+
{% if forloop.last == false %}
|
44
|
+
<hr>
|
45
|
+
{% endif %}
|
46
|
+
{% endfor %}
|
47
|
+
</section>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
{% comment %}
|
2
|
+
The liquid at the top will search through all posts in the series
|
3
|
+
{% endcomment %}
|
4
|
+
{% assign count = '0' %}
|
5
|
+
{% assign index = '0' %}
|
6
|
+
{% assign capture_prev = true %}
|
7
|
+
{% assign capture_next = false %}
|
8
|
+
|
9
|
+
{% for post in site.posts reversed %}
|
10
|
+
{% if post.series == page.series %}
|
11
|
+
{% capture count %}{{ count | plus: '1' }}{% endcapture %}
|
12
|
+
{% assign last_url = post.url %}
|
13
|
+
|
14
|
+
{% if capture_next %}
|
15
|
+
{% assign next_title = post.title %}
|
16
|
+
{% assign next_url = post.url %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if post.url == page.url %}
|
20
|
+
{% capture index %}{{ count }}{% endcapture %}
|
21
|
+
{% assign capture_prev = false %}
|
22
|
+
{% assign capture_next = true %}
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if capture_prev %}
|
26
|
+
{% assign prev_title = post.title %}
|
27
|
+
{% assign prev_url = post.url %}
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if count == '1' %}
|
31
|
+
{% assign first_url = post.url %}
|
32
|
+
{% endif %}
|
33
|
+
{% endif %}
|
34
|
+
{% endfor %}
|
35
|
+
{% assign after = count | minus: index %}
|
36
|
+
{% comment %}
|
37
|
+
At this point, count is the total number of posts, index is this post, and after
|
38
|
+
is the number of posts after index.
|
39
|
+
We've also captured the first, previous, next, and last posts in the series.
|
40
|
+
{% endcomment %}
|
41
|
+
|
42
|
+
{% if count > '1' %}
|
43
|
+
<hr>
|
44
|
+
<section class="series-footer">
|
45
|
+
<div class="level">
|
46
|
+
<div class="level-item">
|
47
|
+
{% include components/feather-icon.html
|
48
|
+
icon="archive" class="has-text-info" %}
|
49
|
+
<!-- Use this span for spacing -->
|
50
|
+
<span class="icon"></span>
|
51
|
+
<p class="has-text-info has-text-weight-semibold is-size-5">
|
52
|
+
{{ page.series }}
|
53
|
+
</p>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
<nav class="pagination is-centered" role="navigation"
|
57
|
+
aria-label="pagination">
|
58
|
+
{% if index > '1' %}
|
59
|
+
<a href="{{ prev_url }}" class="pagination-previous">Previous</a>
|
60
|
+
{% else %}
|
61
|
+
<a href="{{ prev_url }}" class="pagination-previous" disabled>
|
62
|
+
Previous
|
63
|
+
</a>
|
64
|
+
{% endif %}
|
65
|
+
|
66
|
+
{% if after > 0 %}
|
67
|
+
<a href="{{ next_url }}" class="pagination-next">Next</a>
|
68
|
+
{% else %}
|
69
|
+
<a href="{{ next_url }}" class="pagination-next" disabled>
|
70
|
+
Next
|
71
|
+
</a>
|
72
|
+
{% endif %}
|
73
|
+
|
74
|
+
<ul class="pagination-list">
|
75
|
+
{% if index > '2' %}
|
76
|
+
<li>
|
77
|
+
<a href="{{ first_url }}" class="pagination-link"
|
78
|
+
aria-label="Goto page 1">
|
79
|
+
1
|
80
|
+
</a>
|
81
|
+
</li>
|
82
|
+
{% endif %}
|
83
|
+
|
84
|
+
{% if index > '3' %}
|
85
|
+
<li>
|
86
|
+
<span class="pagination-ellipsis">…</span>
|
87
|
+
</li>
|
88
|
+
{% endif %}
|
89
|
+
|
90
|
+
{% if index > '1' %}
|
91
|
+
<li>
|
92
|
+
<a href="{{ prev_url }}" class="pagination-link"
|
93
|
+
aria-label="Goto page {{ index | minus: '1' }}">
|
94
|
+
{{ index | minus: '1' }}
|
95
|
+
</a>
|
96
|
+
</li>
|
97
|
+
{% endif %}
|
98
|
+
|
99
|
+
<li>
|
100
|
+
<a class="pagination-link is-current"
|
101
|
+
aria-label="Current page {{ index }}">
|
102
|
+
{{ index }}
|
103
|
+
</a>
|
104
|
+
</li>
|
105
|
+
|
106
|
+
{% if after > 0 %}
|
107
|
+
<li>
|
108
|
+
<a href="{{ next_url }}" class="pagination-link"
|
109
|
+
aria-label="Goto page {{ index | plus: '1' }}">
|
110
|
+
{{ index | plus: '1' }}
|
111
|
+
</a>
|
112
|
+
</li>
|
113
|
+
{% endif %}
|
114
|
+
|
115
|
+
{% if after > 2 %}
|
116
|
+
<li>
|
117
|
+
<span class="pagination-ellipsis">…</span>
|
118
|
+
</li>
|
119
|
+
{% endif %}
|
120
|
+
|
121
|
+
{% if after > 1 %}
|
122
|
+
<li>
|
123
|
+
<a href="{{ last_url }}" class="pagination-link"
|
124
|
+
aria-label="Goto page {{ count }}">
|
125
|
+
{{ count }}
|
126
|
+
</a>
|
127
|
+
</li>
|
128
|
+
{% endif %}
|
129
|
+
|
130
|
+
</ul>
|
131
|
+
</nav>
|
132
|
+
<div class="level">
|
133
|
+
<div class="level-left">
|
134
|
+
{% if index > '1' %}
|
135
|
+
<p>{{ prev_title }}</p>
|
136
|
+
{% endif %}
|
137
|
+
</div>
|
138
|
+
<div class="level-right">
|
139
|
+
{% if after > 0 %}
|
140
|
+
<p>{{ next_title }}</p>
|
141
|
+
{% endif %}
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
</section>
|
145
|
+
{% endif %}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<section class="series-header level">
|
2
|
+
<div class="level-left">
|
3
|
+
</div>
|
4
|
+
<div class="level-right">
|
5
|
+
<p class="series-header is-italic">
|
6
|
+
Part of the series
|
7
|
+
<span class="has-text-info has-text-weight-semibold">
|
8
|
+
{{ page.series }}
|
9
|
+
</span>
|
10
|
+
</p>
|
11
|
+
</div>
|
12
|
+
</section>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<footer class="footer">
|
2
|
+
<div class="container">
|
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.twitter_username %}
|
18
|
+
<span class="icon"></span>
|
19
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">
|
20
|
+
{% include components/feather-icon.html
|
21
|
+
icon="twitter" class="has-text-dark" %}
|
22
|
+
</a>
|
23
|
+
{% endif %}
|
24
|
+
</p>
|
25
|
+
<p>© Copyright {{ site.time | date: "%Y" }} {{ site.author }}</p>
|
26
|
+
</div>
|
27
|
+
<div class="column is-narrow content">
|
28
|
+
{% include components/made-with.html %}
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
<head>
|
2
|
+
<!-- Rendering Directives -->
|
3
|
+
<meta charset="utf-8">
|
4
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
|
7
|
+
<!-- Content Security Policy -->
|
8
|
+
<meta http-equiv="Content-Security-Policy" content="script-src 'self'">
|
9
|
+
|
10
|
+
<!-- Title, Description -->
|
11
|
+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
12
|
+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 150 | escape }}">
|
13
|
+
|
14
|
+
<!-- Content Links (CSS, canonical, etc.) -->
|
15
|
+
<link rel="stylesheet" href="{{ "/assets/vendor/bulma/bulma.css" | relative_url }}">
|
16
|
+
<link rel="stylesheet" href="{{ "/assets/nn.css" | relative_url }}">
|
17
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
18
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
19
|
+
|
20
|
+
{% if site.favicon %}
|
21
|
+
<!-- Favicon -->
|
22
|
+
<link rel="icon" href="{{ site.favicon | escape }}">
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if site.license_file %}
|
26
|
+
<!-- Site License -->
|
27
|
+
<link rel="license" href="{{ site.license_file | escape }}">
|
28
|
+
{% endif %}
|
29
|
+
</head>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<header>
|
2
|
+
<nav class="navbar is-fixed-top is-light" role="navigation"
|
3
|
+
aria-label="main navigation">
|
4
|
+
<div class="navbar-brand">
|
5
|
+
{% if site.logo %}
|
6
|
+
<a href="{{ "/" | relative_url }}" class="navbar-item">
|
7
|
+
<img src="{{ site.logo | escape }}"
|
8
|
+
alt="{{ site.logo_alt | escape }}"
|
9
|
+
width="100%">
|
10
|
+
</a>
|
11
|
+
{% endif %}
|
12
|
+
<div class="navbar-burger">
|
13
|
+
<span></span>
|
14
|
+
<span></span>
|
15
|
+
<span></span>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="navbar-menu">
|
19
|
+
<div class="navbar-start">
|
20
|
+
|
21
|
+
</div>
|
22
|
+
<div class="navbar-end">
|
23
|
+
{% for page in site.pages %}
|
24
|
+
{% if page.title %}
|
25
|
+
<a href="{{ page.url | relative_url }}"
|
26
|
+
class="navbar-item">
|
27
|
+
{{ page.title | escape }}
|
28
|
+
</a>
|
29
|
+
{% endif %}
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</nav>
|
34
|
+
</header>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html class="has-navbar-fixed-top"
|
3
|
+
lang="{{ page.lang | default: site.lang | default: "en"}}">
|
4
|
+
{% include head.html %}
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
{% if layout.hero %}
|
9
|
+
{% include components/hero.html %}
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<section class="section">
|
13
|
+
<div class="container">
|
14
|
+
{% if layout.menu %}
|
15
|
+
<div class="columns">
|
16
|
+
<div class="column is-narrow">
|
17
|
+
{% include components/menu.html %}
|
18
|
+
</div>
|
19
|
+
<div class="column">
|
20
|
+
{% endif %}
|
21
|
+
<main class="page-content" aria-label="Content">
|
22
|
+
<div class="wrapper">
|
23
|
+
{{ content }}
|
24
|
+
</div>
|
25
|
+
</main>
|
26
|
+
{% if layout.menu %}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
{% endif %}
|
30
|
+
</div>
|
31
|
+
</section>
|
32
|
+
|
33
|
+
{% include footer.html %}
|
34
|
+
</body>
|
35
|
+
</html>
|
data/_layouts/front.html
ADDED
data/_layouts/page.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="page">
|
6
|
+
<div class="level">
|
7
|
+
<div class="level-left">
|
8
|
+
<header class="page-header">
|
9
|
+
<p class="title is-3 has-text-primary">
|
10
|
+
{{ page.long-title | default: page.title | escape }}
|
11
|
+
</p>
|
12
|
+
<p class="subtitle is-5">
|
13
|
+
{{ page.date | date: "%B %-d, %Y" }}
|
14
|
+
</p>
|
15
|
+
</header>
|
16
|
+
</div>
|
17
|
+
<div class="level-right">
|
18
|
+
<div class="tags">
|
19
|
+
{% for tag in page.tags %}
|
20
|
+
<span class="tag is-light">{{ tag }}</span>
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<hr>
|
26
|
+
<div class="content">
|
27
|
+
{{ content }}
|
28
|
+
</div>
|
29
|
+
</article>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post">
|
6
|
+
<section class="post-header">
|
7
|
+
<div class="post-header level">
|
8
|
+
<div class="level-left">
|
9
|
+
<header class="post-title">
|
10
|
+
<p class="title is-3 has-text-primary">
|
11
|
+
{{ page.title | escape }}
|
12
|
+
</p>
|
13
|
+
<p class="subtitle is-5">
|
14
|
+
{{ page.date | date: "%B %-d, %Y" }}
|
15
|
+
</p>
|
16
|
+
</header>
|
17
|
+
</div>
|
18
|
+
<div class="level-right">
|
19
|
+
<div class="tags">
|
20
|
+
{% for tag in page.tags %}
|
21
|
+
<span class="tag is-light">{{ tag }}</span>
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</section>
|
27
|
+
|
28
|
+
<hr>
|
29
|
+
|
30
|
+
{% if page.series %}
|
31
|
+
{% include components/series-header.html %}
|
32
|
+
{% endif %}
|
33
|
+
|
34
|
+
<section class="post-content">
|
35
|
+
<div class="content">
|
36
|
+
{{ content }}
|
37
|
+
</div>
|
38
|
+
</section>
|
39
|
+
|
40
|
+
{% if page.series %}
|
41
|
+
{% include components/series-footer.html %}
|
42
|
+
{% endif %}
|
43
|
+
</article>
|
Binary file
|
Binary file
|
data/assets/nn.scss
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
# This file needs front matter in order for Jekyll to process Sass
|
3
|
+
---
|
4
|
+
|
5
|
+
.post-excerpt {
|
6
|
+
text-align: justify;
|
7
|
+
}
|
8
|
+
|
9
|
+
.feather {
|
10
|
+
width: 1.5em;
|
11
|
+
height: 1.5em;
|
12
|
+
stroke: currentColor;
|
13
|
+
stroke-width: 2;
|
14
|
+
stroke-linecap: round;
|
15
|
+
stroke-linejoin: round;
|
16
|
+
fill: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
.made-with * {
|
20
|
+
max-height: 1.5rem;
|
21
|
+
filter: grayscale(100%);
|
22
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Jeremy Thomas
|
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.
|