minima 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -0
- data/_includes/head.html +1 -1
- data/_layouts/home.html +13 -9
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4f4232a142602d94a8f4ec18e42c41cea8785df902284fd9f0901d48aaf1ea
|
4
|
+
data.tar.gz: c35b9f8acd809ad572565c066fcfac6a507e73ec2527f6cc7215544b0096c479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 249fb7e61e3a9f40117bfc92beba2f56d7eb7af89ad318fd2ea2eac080f9ca21aa90011e0853603d67ea79f9bc97650652259a6d720801d5c84db51351d758e7
|
7
|
+
data.tar.gz: 67d33f94c0d02c3bbcf1dc2a5200ff0525e064af055a14728d640fbdb6efb70df0bc02dba6ca01753041561c3d1f6679bd66b14a543fd7fc41bbb4c4b1c7793a
|
data/README.md
CHANGED
@@ -110,6 +110,20 @@ The site's default CSS has now moved to a new place within the gem itself, [`ass
|
|
110
110
|
|
111
111
|
--
|
112
112
|
|
113
|
+
### Customize navigation links
|
114
|
+
|
115
|
+
This allows you to set which pages you want to appear in the navigation area and configure order of the links.
|
116
|
+
|
117
|
+
For instance, to only link to the `about` and the `portfolio` page, add the following to you `_config.yml`:
|
118
|
+
|
119
|
+
```yaml
|
120
|
+
header_pages:
|
121
|
+
- about.md
|
122
|
+
- portfolio.md
|
123
|
+
```
|
124
|
+
|
125
|
+
--
|
126
|
+
|
113
127
|
### Change default date format
|
114
128
|
|
115
129
|
You can change the default date format by specifying `site.minima.date_format`
|
@@ -173,6 +187,16 @@ To enable Google Anaytics, add the following lines to your Jekyll site:
|
|
173
187
|
|
174
188
|
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
175
189
|
|
190
|
+
--
|
191
|
+
|
192
|
+
### Enabling Excerpts on the Home Page
|
193
|
+
|
194
|
+
To display post-excerpts on the Home Page, simply add the following to your `_config.yml`:
|
195
|
+
|
196
|
+
```yaml
|
197
|
+
show_excerpts: true
|
198
|
+
```
|
199
|
+
|
176
200
|
## Contributing
|
177
201
|
|
178
202
|
Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll/minima. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/_includes/head.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
{% seo %}
|
6
6
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
7
|
-
|
7
|
+
{% feed_meta %}
|
8
8
|
{% if jekyll.environment == 'production' and site.google_analytics %}
|
9
9
|
{% include google-analytics.html %}
|
10
10
|
{% endif %}
|
data/_layouts/home.html
CHANGED
@@ -10,17 +10,21 @@ layout: default
|
|
10
10
|
{{ content }}
|
11
11
|
|
12
12
|
{% if site.posts.size > 0 %}
|
13
|
-
|
13
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
14
14
|
<ul class="post-list">
|
15
15
|
{% for post in site.posts %}
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
<
|
21
|
-
|
22
|
-
</
|
23
|
-
</
|
16
|
+
<li>
|
17
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
18
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
19
|
+
<h3>
|
20
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
21
|
+
{{ post.title | escape }}
|
22
|
+
</a>
|
23
|
+
</h3>
|
24
|
+
{% if site.show_excerpts %}
|
25
|
+
{{ post.excerpt }}
|
26
|
+
{% endif %}
|
27
|
+
</li>
|
24
28
|
{% endfor %}
|
25
29
|
</ul>
|
26
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minima
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Glovier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-feed
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.9'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.9'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: jekyll-seo-tag
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|