jekyll-theme-mnc 1.0.0 → 1.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 +47 -5
- data/_includes/feed-subscription.html +1 -1
- data/_includes/header.html +1 -1
- data/_includes/tumblelog-feed-subscription.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/error.html +3 -3
- data/_layouts/redirect.html +8 -6
- data/_sass/jekyll-theme-mnc/_layout.scss +6 -2
- data/assets/icons/icon.webp +0 -0
- metadata +39 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d4a623af0fb45201d27d6ff541635aa9100bcf6fa100187137735a5a863f1cf
|
4
|
+
data.tar.gz: 507cd6590d5e94ce5d7f196974d4f8c36271dc7c756f17867fb9b91954c6fd06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19a487e330bd3073cf17178bd7d4f79cf55c38429ba47b4e727012e22b62d169dfcec25eac577f19852faed558b135087ba7d0588677fea5888d679fb4be135
|
7
|
+
data.tar.gz: 59fa9fe36dbaf02aebc84dbd364445ec45b16cd25d24d1f2ae1c38cb9022c3c4b0386b56cda93bcf99d4cf0630893b403aec8b68c6b9c674bcf53eac3fb55e6e
|
data/README.md
CHANGED
@@ -12,13 +12,53 @@
|
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
15
|
-
|
15
|
+
Installation from Gem is recommended, but using a remote theme is also possible, even though it will increase build times a little, depending on your internet connection and the size of the theme download, because it will be downloaded during each build. Gems are installed locally.
|
16
|
+
|
17
|
+
GitHub Pages gem users need to use the remote theme method.
|
18
|
+
|
19
|
+
### Installation from Gem
|
20
|
+
|
21
|
+
Add this line to your Jekyll site's `Gemfile`:
|
16
22
|
|
17
23
|
```ruby
|
18
|
-
gem "jekyll-theme-mnc"
|
24
|
+
gem "jekyll-theme-mnc", group: [:jekyll_plugins]
|
19
25
|
```
|
20
26
|
|
21
|
-
Then
|
27
|
+
Then run `bundle` in your terminal.
|
28
|
+
|
29
|
+
```sh
|
30
|
+
bundle
|
31
|
+
```
|
32
|
+
|
33
|
+
Also add the theme to your Jekyll site's `_config.yml`:
|
34
|
+
|
35
|
+
```yaml
|
36
|
+
theme: jekyll-theme-mnc
|
37
|
+
```
|
38
|
+
|
39
|
+
Make sure that this is the only `theme:` in `_config.yml`, and that there are no other `remote-theme:`.
|
40
|
+
|
41
|
+
### Installation as Remote Theme
|
42
|
+
|
43
|
+
Add this line to your Jekyll site's `Gemfile`:
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
gem "jekyll-remote-theme", group: [:jekyll_plugins]
|
47
|
+
```
|
48
|
+
|
49
|
+
Then run `bundle` in your terminal.
|
50
|
+
|
51
|
+
```sh
|
52
|
+
bundle
|
53
|
+
```
|
54
|
+
|
55
|
+
Finally add the remote theme to your Jekyll site's `_config.yml`:
|
56
|
+
|
57
|
+
```yaml
|
58
|
+
remote_theme: michaelnordmeyer/jekyll-theme-mnc
|
59
|
+
```
|
60
|
+
|
61
|
+
Make sure that this is the only `remote_theme:` in `_config.yml`, and that there are no other `theme:`.
|
22
62
|
|
23
63
|
## Contents At-A-Glance
|
24
64
|
|
@@ -30,6 +70,8 @@ Refers to files within the `_layouts` directory, that define the markup for your
|
|
30
70
|
- `home.html` – The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
|
31
71
|
- `page.html` – The layout for your documents that contain FrontMatter, but are not posts.
|
32
72
|
- `post.html` – The layout for your posts.
|
73
|
+
- `redirect.html` – The layout which will be used by the optional plugin [Jekyll Redirect From](https://github.com/jekyll/jekyll-redirect-from)
|
74
|
+
|
33
75
|
|
34
76
|
#### Home Layout
|
35
77
|
|
@@ -214,7 +256,7 @@ jekyll-theme-mnc:
|
|
214
256
|
You can declare an icon for the tumblelog in `_config.yml`.
|
215
257
|
|
216
258
|
```yaml
|
217
|
-
tumblelog_icon: /icon.
|
259
|
+
tumblelog_icon: /assets/icons/icon.webp
|
218
260
|
```
|
219
261
|
|
220
262
|
### Header Image Support
|
@@ -223,7 +265,7 @@ A header image is displayed before the title on posts and pages, if `image` is a
|
|
223
265
|
|
224
266
|
```yaml
|
225
267
|
---
|
226
|
-
image: /images/sample-image.
|
268
|
+
image: /images/sample-image.webp
|
227
269
|
image_alt: The description of the image
|
228
270
|
image_title: The title of the image
|
229
271
|
---
|
@@ -1 +1 @@
|
|
1
|
-
<p><small>Subscribe to updates <a href="{{ '/feed.xml' | relative_url }}" rel="alternate
|
1
|
+
<p><small>Subscribe to updates <a href="{{ '/feed.xml' | relative_url }}" rel="alternate noindex" type="application/atom+xml">via Atom feed</a> or <a href="{{ '/feed.json' | relative_url }}" rel="alternate noindex" type="application/feed+json">via JSON feed</a></small></p>
|
data/_includes/header.html
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
{%- assign category_paths = site.categories | default: default_paths -%}
|
22
22
|
{%- assign sorted_categories = site.categories | sort -%}
|
23
23
|
{% for category in sorted_categories %}
|
24
|
-
<a itemprop="url" href="{{ site.baseurl }}/{{ site.jekyll-theme-mnc.category_slug}}/{{ category[0] | slugify }}" rel="
|
24
|
+
<a itemprop="url" href="{{ site.baseurl }}/{{ site.jekyll-theme-mnc.category_slug}}/{{ category[0] | slugify }}" rel="noindex">{{ category[0] | smartify }}</a>
|
25
25
|
{%- endfor %}
|
26
26
|
</details>
|
27
27
|
</nav>
|
@@ -1 +1 @@
|
|
1
|
-
<p><small>Subscribe to Tumblelog updates <a href="{{ '/tumblelog/feed.xml' | relative_url }}" rel="alternate
|
1
|
+
<p><small>Subscribe to Tumblelog updates <a href="{{ '/tumblelog/feed.xml' | relative_url }}" rel="alternate noindex" type="application/atom+xml">via Atom feed</a> or <a href="{{ '/tumblelog/feed.json' | relative_url }}" rel="alternate noindex" type="application/feed+json">via JSON feed</a></small></p>
|
data/_layouts/default.html
CHANGED
data/_layouts/error.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
3
|
<head>
|
4
|
-
<meta name="robots" content="noindex,follow">
|
4
|
+
<meta name="robots" content="noindex, follow">
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
7
|
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
8
8
|
<title>{% if page.title %}{{ page.title | smartify }}{% else %}{{ site.title | smartify }}{% endif %}</title>
|
9
9
|
<meta name="description" content="Error page">
|
10
|
-
<link rel="icon" type="image/
|
10
|
+
<link rel="icon" type="image/webp" href="{{ '/assets/icons/icon.webp' | relative_url }}">
|
11
11
|
</head>
|
12
12
|
<body>
|
13
13
|
{% include header.html %}
|
data/_layouts/redirect.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
<!
|
1
|
+
<!doctype html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
3
|
<head>
|
4
|
-
<meta name="robots" content="noindex,follow">
|
4
|
+
<meta name="robots" content="noindex, follow">
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
7
|
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
8
|
-
<title>Redirecting
|
8
|
+
<title>Redirecting…</title>
|
9
9
|
<meta name="description" content="Redirect page">
|
10
|
-
<link rel="icon" type="image/
|
10
|
+
<link rel="icon" type="image/webp" href="{{ '/assets/icons/icon.webp' | relative_url }}">
|
11
11
|
<link rel="canonical" href="{{ page.redirect.to | absolute_url }}">
|
12
12
|
<meta http-equiv="refresh" content="0; url={{ page.redirect.to | absolute_url }}">
|
13
13
|
</head>
|
@@ -20,8 +20,10 @@
|
|
20
20
|
<h1 itemprop="headline" itemscope itemtype="https://schema.org/Text">Redirecting…</h1>
|
21
21
|
</header>
|
22
22
|
<div itemprop="mainContentOfPage" itemscope itemtype="https://schema.org/WebPageElement">
|
23
|
-
<
|
24
|
-
<
|
23
|
+
<p>Redirecting from {{ page.redirect.from | relative_url }} to {{ page.redirect.to | absolute_url }}.</p>
|
24
|
+
<p>
|
25
|
+
<a href="{{ page.redirect.to | absolute_url }}">Click here if you are not being redirected.</a>
|
26
|
+
</p>
|
25
27
|
</div>
|
26
28
|
</article>
|
27
29
|
</main>
|
@@ -332,10 +332,14 @@ video {
|
|
332
332
|
|
333
333
|
|
334
334
|
// Footnotes. The class is automatically created by either the kramdown or gfm plugin
|
335
|
-
hr
|
336
|
-
margin-
|
335
|
+
hr + .footnotes {
|
336
|
+
margin-top: calc($spacing-unit / -2);
|
337
337
|
}
|
338
338
|
|
339
339
|
.footnotes {
|
340
340
|
font-size: $small-font-size;
|
341
341
|
}
|
342
|
+
|
343
|
+
.footnotes li {
|
344
|
+
margin-top: calc($spacing-unit / 2);
|
345
|
+
}
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-mnc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Nordmeyer
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: jekyll
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
18
|
+
version: 3.10.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: '5.0'
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.
|
28
|
+
version: 3.10.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: '5.0'
|
@@ -45,19 +44,19 @@ dependencies:
|
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
version: '0.17'
|
47
46
|
- !ruby/object:Gem::Dependency
|
48
|
-
name: jekyll-
|
47
|
+
name: jekyll-sitemap
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
50
|
- - "~>"
|
52
51
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
52
|
+
version: '1.4'
|
54
53
|
type: :runtime
|
55
54
|
prerelease: false
|
56
55
|
version_requirements: !ruby/object:Gem::Requirement
|
57
56
|
requirements:
|
58
57
|
- - "~>"
|
59
58
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
59
|
+
version: '1.4'
|
61
60
|
- !ruby/object:Gem::Dependency
|
62
61
|
name: jekyll-redirect-from
|
63
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +85,34 @@ dependencies:
|
|
86
85
|
- - "~>"
|
87
86
|
- !ruby/object:Gem::Version
|
88
87
|
version: '2.8'
|
89
|
-
|
88
|
+
- !ruby/object:Gem::Dependency
|
89
|
+
name: bundler
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '2.4'
|
95
|
+
type: :development
|
96
|
+
prerelease: false
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '2.4'
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: rake
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '13.0'
|
109
|
+
type: :development
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '13.0'
|
90
116
|
email:
|
91
117
|
- michaelnordmeyer@users.noreply.github.com
|
92
118
|
executables: []
|
@@ -127,13 +153,13 @@ files:
|
|
127
153
|
- _sass/jekyll-theme-mnc/skins/solarized-light.scss
|
128
154
|
- _sass/jekyll-theme-mnc/skins/solarized.scss
|
129
155
|
- assets/css/style.scss
|
156
|
+
- assets/icons/icon.webp
|
130
157
|
- assets/jekyll-theme-mnc-social-icons.svg
|
131
158
|
homepage: https://github.com/michaelnordmeyer/jekyll-theme-mnc
|
132
159
|
licenses:
|
133
160
|
- MIT
|
134
161
|
metadata:
|
135
162
|
plugin_type: theme
|
136
|
-
post_install_message:
|
137
163
|
rdoc_options: []
|
138
164
|
require_paths:
|
139
165
|
- lib
|
@@ -141,15 +167,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
167
|
requirements:
|
142
168
|
- - ">="
|
143
169
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
170
|
+
version: 2.7.0
|
145
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
172
|
requirements:
|
147
173
|
- - ">="
|
148
174
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
175
|
+
version: 3.4.0
|
150
176
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
152
|
-
signing_key:
|
177
|
+
rubygems_version: 3.7.1
|
153
178
|
specification_version: 4
|
154
179
|
summary: A classless, minimal theme for Jekyll based on minima.
|
155
180
|
test_files: []
|