minimalist-theme 0.1.7 → 0.1.8
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 +33 -2
- data/_includes/navigation.html +21 -3
- data/_layouts/default.html +5 -2
- data/_layouts/index.html +4 -3
- data/_layouts/post.html +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ece534f0f9ee4a9a3943252d679ed0777b2b3b58d05e68d7a84368c7764b0840
|
|
4
|
+
data.tar.gz: 2c459a8ea28c2ec1655e7ee38afe46c75439bf764d5ede5094a90934b18b579e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9620dc91902f1a1773b7edd96127064a1207d7bc619d407d951ada4a89ba74d05cdf91a0d0f08f749c5a10a5dc703e8dd92d00872eee8462982b89ab3efd2c4
|
|
7
|
+
data.tar.gz: 4986737901e2f43d82c638bb4044ecc3ca31257745cab33e64bc42b924608ce6177b0161cb35fb195ca009486de5c7c168e5b3e22fdb63b3290f4490c66f33eb
|
data/README.md
CHANGED
|
@@ -32,7 +32,23 @@ Three files are mandatories:
|
|
|
32
32
|
- about.md
|
|
33
33
|
- categories.md
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
### Google Analytics
|
|
36
|
+
|
|
37
|
+
Google Analytics is enabled in production mode, see _config.yml below to see configuration
|
|
38
|
+
|
|
39
|
+
### Disqus
|
|
40
|
+
|
|
41
|
+
Disqus is enabled in production mode, see _config.yml below to see configuration.
|
|
42
|
+
|
|
43
|
+
Also, add this part in your front matter:
|
|
44
|
+
|
|
45
|
+
````
|
|
46
|
+
comments: true
|
|
47
|
+
````
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
For each files, the layout name will be the same as the file name.
|
|
36
52
|
|
|
37
53
|
Now you may edit _config.yml with theses variables:
|
|
38
54
|
|
|
@@ -51,29 +67,44 @@ defaults:
|
|
|
51
67
|
values:
|
|
52
68
|
layout: "default"
|
|
53
69
|
|
|
70
|
+
id_google_analytics:
|
|
71
|
+
disqus_url:
|
|
54
72
|
title:
|
|
55
73
|
description:
|
|
56
74
|
url:
|
|
75
|
+
locale: fr
|
|
57
76
|
|
|
58
77
|
social:
|
|
59
78
|
linkedin:
|
|
60
79
|
github:
|
|
61
80
|
instagram:
|
|
81
|
+
strava:
|
|
62
82
|
|
|
63
83
|
header:
|
|
64
84
|
title:
|
|
65
85
|
subtitle:
|
|
66
86
|
|
|
87
|
+
footer:
|
|
88
|
+
text:
|
|
89
|
+
|
|
67
90
|
about:
|
|
68
91
|
username:
|
|
69
92
|
subtitle:
|
|
70
93
|
|
|
71
|
-
|
|
94
|
+
nav:
|
|
95
|
+
home:
|
|
96
|
+
categories:
|
|
97
|
+
about:
|
|
98
|
+
|
|
99
|
+
index:
|
|
100
|
+
title:
|
|
72
101
|
|
|
73
102
|
plugins:
|
|
74
103
|
- jekyll-feed
|
|
75
104
|
- jekyll-sitemap
|
|
76
105
|
- jekyll-seo-tag
|
|
106
|
+
|
|
107
|
+
permalink: /:title/
|
|
77
108
|
```
|
|
78
109
|
|
|
79
110
|
## Contributing
|
data/_includes/navigation.html
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
<nav class="bt bb tc mw7 center mt4">
|
|
2
|
-
<a class="f6 f5-l link bg-animate black-80 hover-bg-lightest-blue dib pa3 ph4-l" href="{{ site.baseurl }}/">
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<a class="f6 f5-l link bg-animate black-80 hover-bg-lightest-blue dib pa3 ph4-l" href="{{ site.baseurl }}/">
|
|
3
|
+
{% if site.nav.home %}
|
|
4
|
+
{{ site.nav.home }}
|
|
5
|
+
{% else %}
|
|
6
|
+
Accueil
|
|
7
|
+
{% endif %}
|
|
8
|
+
</a>
|
|
9
|
+
<a class="f6 f5-l link bg-animate black-80 hover-bg-lightest-blue dib pa3 ph4-l" href="{{ site.baseurl }}/categories">
|
|
10
|
+
{% if site.nav.categories %}
|
|
11
|
+
{{ site.nav.categories }}
|
|
12
|
+
{% else %}
|
|
13
|
+
Categories
|
|
14
|
+
{% endif %}
|
|
15
|
+
</a>
|
|
16
|
+
<a class="f6 f5-l link bg-animate black-80 hover-bg-lightest-blue dib pa3 ph4-l" href="{{ site.baseurl }}/about">
|
|
17
|
+
{% if site.nav.about %}
|
|
18
|
+
{{ site.nav.about }}
|
|
19
|
+
{% else %}
|
|
20
|
+
A propos
|
|
21
|
+
{% endif %}
|
|
22
|
+
</a>
|
|
5
23
|
</nav>
|
data/_layouts/default.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html>
|
|
2
|
+
<html lang="{{ site.locale }}">
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
@@ -9,12 +9,15 @@
|
|
|
9
9
|
<link rel="stylesheet" href="/assets/css/styles.css">
|
|
10
10
|
{% feed_meta %}
|
|
11
11
|
{% seo %}
|
|
12
|
+
{% if jekyll.environment == "production" %}
|
|
13
|
+
{% include google-analytics.html %}
|
|
14
|
+
{% endif %}
|
|
12
15
|
</head>
|
|
13
16
|
|
|
14
17
|
<body>
|
|
15
18
|
<div class="wrap-content fl w-100 pa2">
|
|
16
19
|
{% include header.html %}
|
|
17
|
-
|
|
20
|
+
{{ content }}
|
|
18
21
|
{% include footer.html %}
|
|
19
22
|
</div>
|
|
20
23
|
</body>
|
data/_layouts/index.html
CHANGED
|
@@ -3,7 +3,7 @@ title: Blog
|
|
|
3
3
|
layout: default
|
|
4
4
|
---
|
|
5
5
|
<section class="mw7 center">
|
|
6
|
-
<h2 class="fw1 ph3 ph0-l playfair">
|
|
6
|
+
<h2 class="fw1 ph3 ph0-l playfair">{{ site.index.title }}</h2>
|
|
7
7
|
{% for post in site.posts %}
|
|
8
8
|
<article class="bt bb b--black-10">
|
|
9
9
|
<a class="db pv4 ph3 ph0-l no-underline black dim" href="{{ post.url }}">
|
|
@@ -13,10 +13,11 @@ layout: default
|
|
|
13
13
|
<p class="f6 f5-l lh-copy">
|
|
14
14
|
{{ post.excerpt }}
|
|
15
15
|
</p>
|
|
16
|
+
{% assign num_words = post.content | strip_html | number_of_words | append: " words"%}
|
|
16
17
|
<p class="f6 lh-copy mv0 gray">{{ post.author }}</p>
|
|
17
|
-
<time class="f6 db gray">{{ post.date | date: "%b %d, %y" }}</time>
|
|
18
|
-
</div>
|
|
18
|
+
<time class="f6 db gray">{{ post.date | date: "%b %d, %y" }} - {{ num_words }}</time>
|
|
19
19
|
</div>
|
|
20
|
+
</div>
|
|
20
21
|
</a>
|
|
21
22
|
</article>
|
|
22
23
|
{% endfor %}
|
data/_layouts/post.html
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minimalist-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- YannickDurden
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02-
|
|
11
|
+
date: 2020-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -140,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
version: '0'
|
|
141
141
|
requirements: []
|
|
142
142
|
rubyforge_project:
|
|
143
|
-
rubygems_version: 2.7.6
|
|
143
|
+
rubygems_version: 2.7.6.2
|
|
144
144
|
signing_key:
|
|
145
145
|
specification_version: 4
|
|
146
|
-
summary: minimalistic theme based on Tachyon framework. See GitHub Page.
|
|
146
|
+
summary: minimalistic theme based on Tachyon framework. See GitHub Page for more informations.
|
|
147
147
|
test_files: []
|