jekyll-theme-nettoyer 0.0.9 → 0.0.10
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/_includes/_head.html +3 -3
- data/_includes/_main-footer.html +4 -1
- data/_includes/_main-header.html +2 -2
- data/_includes/_main-nav.html +4 -2
- data/_layouts/home.html +4 -2
- data/_sass/core/_base.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6d88a54b137d8ce8d0e38c3d666cb7337ab542a
|
4
|
+
data.tar.gz: 0c1e92c6e87c9ca35e48f803e0c6261a888e8f6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6b417d875fd31a4255e93cfa4cc0385527613390c74f2841810bf5d163a740617a6eeb8831311a47eb223df0f1c1ab14ba723b7a5be795cdcd85816b06dc134
|
7
|
+
data.tar.gz: 7a77c0081bf130de1f712d3a9d9461ce57fe351af1a52e377d1a3b834cbee2d9036df6414d5e617506dca39b0e816396240be65edfe53df28231114cc4d4b23a
|
data/_includes/_head.html
CHANGED
@@ -12,11 +12,11 @@
|
|
12
12
|
|
13
13
|
<meta name="theme-color" content="#333">
|
14
14
|
|
15
|
-
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/favicon.ico' |
|
16
|
-
<link rel="stylesheet" href="{{ '/assets/css/style.css' |
|
15
|
+
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/favicon.ico' | absolute_url }}">
|
16
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | absolute_url }}">
|
17
17
|
|
18
18
|
<title>
|
19
|
-
{{ site.name }}
|
19
|
+
{% if site.name %}{{ site.name }}{% else %}{{ site.title }}{% endif %}
|
20
20
|
{% if page.title %} {{ page.title | prepend: '| ' }} {% endif %}
|
21
21
|
</title>
|
22
22
|
</head>
|
data/_includes/_main-footer.html
CHANGED
data/_includes/_main-header.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<header class="main-header">
|
2
2
|
<h1 class="title">
|
3
|
-
<a href="{{ site.url }}{% if site.baseurl %}{{ site.baseurl }}{% endif %}">
|
4
|
-
{{ site.name }}
|
3
|
+
<a href="{{ site.url | absolute_url }}{% if site.baseurl %}{{ site.baseurl }}{% endif %}">
|
4
|
+
{% if site.name %}{{ site.name }}{% else %}{{ site.title }}{% endif %}
|
5
5
|
</a>
|
6
6
|
</h1>
|
7
7
|
|
data/_includes/_main-nav.html
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
<nav class="main-nav" role="navigation">
|
2
|
-
<h2 class="title">
|
2
|
+
<h2 class="title">
|
3
|
+
{{ site.data.i18n[site.locale].nav_title | default: 'Main navigation' }}
|
4
|
+
</h2>
|
3
5
|
|
4
6
|
<ul class="menu-list">
|
5
7
|
{% assign pages = site.pages | where: 'layout', 'page' %}
|
@@ -10,7 +12,7 @@
|
|
10
12
|
|
11
13
|
{% for menu in pages %}
|
12
14
|
<li class="menu">
|
13
|
-
<a class="link" href="{{ menu.permalink |
|
15
|
+
<a class="link" href="{{ menu.permalink | absolute_url }}">
|
14
16
|
{{ menu.title }}
|
15
17
|
</a>
|
16
18
|
</li>
|
data/_layouts/home.html
CHANGED
@@ -8,14 +8,16 @@ layout: default
|
|
8
8
|
{% assign postsCount = site.posts | size %}
|
9
9
|
{% if postsCount != 0 %}
|
10
10
|
<section class="latest-articles">
|
11
|
-
<h2 class="title">
|
11
|
+
<h2 class="title">
|
12
|
+
{{ site.data.i18n[site.locale].latest_articles | default: 'Latest articles' }}
|
13
|
+
</h2>
|
12
14
|
|
13
15
|
<ul class="articles">
|
14
16
|
{% for article in site.posts %}
|
15
17
|
<li>
|
16
18
|
<a class="article" href="{{ article.url }}">
|
17
19
|
<h3 class="title">{{ article.title }}</h3>
|
18
|
-
<time class="date">{{ article.date }}</time>
|
20
|
+
<time class="date">{{ article.date | date_to_string }}</time>
|
19
21
|
<p class="excerpt">{{ article.excerpt }}</p>
|
20
22
|
</a>
|
21
23
|
</li>
|
data/_sass/core/_base.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-nettoyer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luan Vicente
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|