jekyll-theme-nettoyer 0.0.5 → 0.0.6
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 +1 -1
- data/_includes/_head.html +13 -2
- data/_includes/_main-nav.html +10 -2
- data/_layouts/error.html +8 -0
- data/_layouts/log.html +7 -0
- data/_layouts/page.html +7 -0
- data/_sass/components/_error-template.scss +14 -0
- data/_sass/components/_log-template.scss +17 -0
- data/_sass/nettoyer.scss +3 -0
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c355f574dbc12287b5c2b0ea64f62482d7ffadf
|
4
|
+
data.tar.gz: f61df5ea09fc7bd1513ff597b322c93359820cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db247051b38e638f94c80e17de4abb1ad2d99c61ac214f05b9625b77a04a27183b0859d26f0597ff9f78c4108eb0f6cc61699511872d369b011c00044e74a17
|
7
|
+
data.tar.gz: cba1519d37eaeba1f1850c972404f538ffae72aa4822f84d1c42cac88f543881352f32510b351cdf46b8d13b519524e4d97efcfb7a20ef3b0f1d6350fb75b6c2
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
[cibuild]: https://travis-ci.org/idlua/jekyll-theme-nettoyer
|
6
6
|
[cibuild-badge]: https://travis-ci.org/idlua/jekyll-theme-nettoyer.svg?branch=master
|
7
7
|
|
8
|
-
[gem]: https://
|
8
|
+
[gem]: https://rubygems.org/gems/jekyll-theme-nettoyer
|
9
9
|
[gem-badge]: https://badge.fury.io/rb/jekyll-theme-nettoyer.svg
|
10
10
|
|
11
11
|
|
data/_includes/_head.html
CHANGED
@@ -1,11 +1,22 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
-
|
4
|
+
|
5
|
+
{% if page.description %}
|
6
|
+
<meta name="description" content="{{ page.description }}">
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% unless page.description %}
|
10
|
+
<meta name="description" content="{{ site.description }}">
|
11
|
+
{% endunless %}
|
12
|
+
|
5
13
|
<meta name="theme-color" content="#333">
|
6
14
|
|
7
15
|
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/favicon.ico' | relative_url }}">
|
8
16
|
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
9
17
|
|
10
|
-
<title>
|
18
|
+
<title>
|
19
|
+
{{ site.name }}
|
20
|
+
{% if page.title %} {{ page.title | prepend: '| ' }} {% endif %}
|
21
|
+
</title>
|
11
22
|
</head>
|
data/_includes/_main-nav.html
CHANGED
@@ -2,9 +2,17 @@
|
|
2
2
|
<h2 class="title">Main navigation</h2>
|
3
3
|
|
4
4
|
<ul class="menu-list">
|
5
|
-
{%
|
5
|
+
{% assign pages = site.pages | where: 'layout', 'page' %}
|
6
|
+
|
7
|
+
<!-- Remove the two lines below to avoid the ChangeLog. -->
|
8
|
+
{% assign logs = site.pages | where: 'layout', 'log' %}
|
9
|
+
{% assign pages = pages | concat: logs %}
|
10
|
+
|
11
|
+
{% for menu in pages %}
|
6
12
|
<li class="menu">
|
7
|
-
<a class="link" href="{{ menu.
|
13
|
+
<a class="link" href="{{ menu.permalink | relative_url }}">
|
14
|
+
{{ menu.title }}
|
15
|
+
</a>
|
8
16
|
</li>
|
9
17
|
{% endfor %}
|
10
18
|
</ul>
|
data/_layouts/error.html
ADDED
data/_layouts/log.html
ADDED
data/_layouts/page.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
.error-content {
|
2
|
+
@extend %content-wrapper;
|
3
|
+
|
4
|
+
margin-top: 25%;
|
5
|
+
text-align: center;
|
6
|
+
|
7
|
+
/* @media 1024px */
|
8
|
+
@media (min-width: 1024px) { margin-top: 15%; }
|
9
|
+
|
10
|
+
> h2 { font-size: 45px; }
|
11
|
+
> h3 { font-weight: $f_weight-regular; }
|
12
|
+
> h4 { font-style: italic; }
|
13
|
+
> p { font-size: 14px; }
|
14
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.log-content {
|
2
|
+
font-family: $f_primary;
|
3
|
+
|
4
|
+
a { text-decoration: underline; }
|
5
|
+
strong { color: $c_gray; }
|
6
|
+
p {
|
7
|
+
font-size: 14px;
|
8
|
+
font-style: italic;
|
9
|
+
}
|
10
|
+
|
11
|
+
li {
|
12
|
+
margin-left: 20px;
|
13
|
+
|
14
|
+
/* @media 1024px */
|
15
|
+
@media (min-width: 1024px) { margin-left: 0; }
|
16
|
+
}
|
17
|
+
}
|
data/_sass/nettoyer.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luan Vicente
|
@@ -66,6 +66,11 @@ files:
|
|
66
66
|
- _includes/_main-header.html
|
67
67
|
- _includes/_main-nav.html
|
68
68
|
- _layouts/default.html
|
69
|
+
- _layouts/error.html
|
70
|
+
- _layouts/log.html
|
71
|
+
- _layouts/page.html
|
72
|
+
- _sass/components/_error-template.scss
|
73
|
+
- _sass/components/_log-template.scss
|
69
74
|
- _sass/components/_main-content.scss
|
70
75
|
- _sass/components/_main-footer.scss
|
71
76
|
- _sass/components/_main-header.scss
|