jekyll-theme-twenty 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/header.html +15 -9
- data/_layouts/default.html +0 -2
- data/_layouts/home.html +2 -0
- data/_layouts/page.html +2 -0
- data/_layouts/post.html +1 -1
- data/_sass/components/_form.scss +10 -0
- data/_sass/layout/_header.scss +4 -0
- 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: 239fb14a879cca8b1c99229f559834c1e4c5c36b
|
4
|
+
data.tar.gz: 5e922dee203e31a004556514630376090f58edc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc47ccd88763a023bc7f5b907aad1f55c9d3492e35891fc74b2071022987c2a4d5ae12268599f6994b888803bd1dba28da71c83398845de2d7023665ca0ddd3
|
7
|
+
data.tar.gz: 5af0d34aaa25697cca20809450452733951a30610a7a2c3a47c6b06a74794abe2259ed9870676e1dcce04d127ff8bc2f3539eaba2208178313a50e5f5caed91e
|
data/README.md
CHANGED
@@ -74,7 +74,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/moodul
|
|
74
74
|
|
75
75
|
To set up your environment to develop this theme, run `bundle install`.
|
76
76
|
|
77
|
-
To test the theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using
|
77
|
+
To test the theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using the theme. Add pages, documents, data, etc. like normal to test the theme's contents. As you make modifications to the theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
78
78
|
|
79
79
|
When the theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git are be bundled.
|
80
80
|
To add a custom directory to the theme-gem, please edit the regexp in `jekyll-theme-twenty.gemspec` accordingly.
|
data/_includes/header.html
CHANGED
@@ -1,25 +1,31 @@
|
|
1
1
|
<!-- Header -->
|
2
|
-
<header id="header" class="
|
2
|
+
<header id="header" {% if include.class %} class="{{ include.class }}" {% endif %}>
|
3
3
|
<h1 id="logo">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
<a href="index.html">
|
5
|
+
{% if site.logo_url %}
|
6
|
+
<img src="{{ site.logo_url | absolute_url }}" width="32" height="32">
|
7
|
+
|
8
|
+
{% endif %}
|
9
|
+
{{ site.title }} <span>{% if site.subtitle.size < 16 %} {{ site.subtitle }} {% endif %}</span>
|
10
|
+
</a>
|
9
11
|
</h1>
|
10
12
|
<nav id="nav">
|
11
13
|
<ul>
|
12
14
|
{% for item in site.data.navigation.menu %}
|
13
15
|
{% if item.menu[0] %}
|
14
|
-
<li class="submenu">
|
16
|
+
<li class="submenu {% if item.url == page.url %} current {% endif %}">
|
15
17
|
<a href="{{ item.url }}">{{ item.title }}</a>
|
16
18
|
<ul>
|
17
19
|
{% for subitem in item.menu %}
|
18
|
-
<li
|
20
|
+
<li {% if subitem.url == page.url %} class="current" {% endif %}>
|
21
|
+
<a href="{{ subitem.url }}">{{ subitem.title }}</a>
|
22
|
+
</li>
|
19
23
|
{% endfor %}
|
20
24
|
</ul>
|
21
25
|
{% else %}
|
22
|
-
<li
|
26
|
+
<li {% if item.url == page.url %} class="current" {% endif %}>
|
27
|
+
<a href="{{ item.url }}">{{ item.title }}</a>
|
28
|
+
</li>
|
23
29
|
{% endif %}
|
24
30
|
{% endfor %}
|
25
31
|
</ul>
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
data/_sass/components/_form.scss
CHANGED
@@ -6,6 +6,7 @@ input[type="email"],
|
|
6
6
|
textarea {
|
7
7
|
@include vendor('transition', ('background-color 0.2s ease-in-out', 'border-color 0.2s ease-in-out'));
|
8
8
|
@include vendor('appearance', 'none');
|
9
|
+
position: relative;
|
9
10
|
background: none;
|
10
11
|
border: solid 1px _palette(border);
|
11
12
|
border-radius: 0;
|
@@ -47,4 +48,13 @@ input[type="email"] {
|
|
47
48
|
:-ms-input-placeholder {
|
48
49
|
color: inherit;
|
49
50
|
opacity: 0.5;
|
51
|
+
}
|
52
|
+
|
53
|
+
.required::after {
|
54
|
+
content: '*';
|
55
|
+
position: absolute;
|
56
|
+
color: red;
|
57
|
+
top: -3px;
|
58
|
+
right: -1px;
|
59
|
+
font-size: 26px;
|
50
60
|
}
|
data/_sass/layout/_header.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-twenty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Mougeolle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03
|
11
|
+
date: 2019-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|