jekyll-bulma 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +11 -9
- data/_includes/head.html +2 -0
- data/_includes/header.html +6 -2
- data/_sass/_presets.scss +1 -0
- data/assets/css/main.scss +5 -1
- data/assets/js/dropdown.js +13 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3e0d60c18d43bb5312bcd0cee1431279074feeda3ca0d6822be83b4034ccd09
|
4
|
+
data.tar.gz: daf9202d687df9b77ef23a38924ab30cb6ebdb6824b353e69387378fae61c560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfaefad9f2360f1817f51146c683f25f65902d3cb3dff55c7a6557db7b4a4309d21d6d70d95ed4f13e0969faf84aebd9963ed39a08d121ef6a79b800d7362a2b
|
7
|
+
data.tar.gz: 5aabb433671a07a2973b76da46720561645365c1223ec556f5ffaa890f69b70df394c40a306378a3bf9bbd79ed3d125c6bbefe51645ddb6c7e8d411f6ba47260
|
data/_includes/footer.html
CHANGED
@@ -1,26 +1,28 @@
|
|
1
1
|
<footer class="footer">
|
2
2
|
<div class="columns">
|
3
3
|
<div class="column">
|
4
|
-
<h1 class="is-
|
4
|
+
<h1 class="title is-size-4">Meta</h1>
|
5
5
|
<a href="#">Imprint</a>
|
6
6
|
</div>
|
7
7
|
|
8
8
|
<div class="column">
|
9
|
-
<h1 class="is-
|
10
|
-
|
11
|
-
|
12
|
-
{{ post.
|
13
|
-
|
14
|
-
|
9
|
+
<h1 class="title is-size-4">Latest Posts</h1>
|
10
|
+
<ul>
|
11
|
+
{%- for post in site.posts limit:5 -%}
|
12
|
+
<li href="{{ post.url | prepend: site.baseurl }}">
|
13
|
+
{{ post.title | truncate: 35 }}
|
14
|
+
</li>
|
15
|
+
{%- endfor -%}
|
16
|
+
</ul>
|
15
17
|
</div>
|
16
18
|
|
17
19
|
<div class="column">
|
18
|
-
<h1 class="is-
|
20
|
+
<h1 class="title title is-size-4">Title</h1>
|
19
21
|
<a href="#">Link</a>
|
20
22
|
</div>
|
21
23
|
|
22
24
|
<div class="column">
|
23
|
-
<h1 class="is-
|
25
|
+
<h1 class="title title is-size-4">Title</h1>
|
24
26
|
<ul>
|
25
27
|
<li>
|
26
28
|
<span class="icon">
|
data/_includes/head.html
CHANGED
data/_includes/header.html
CHANGED
@@ -4,14 +4,18 @@
|
|
4
4
|
<img src="https://bulma.io/images/bulma-logo.png" alt="Bulma: a modern CSS framework based on Flexbox" width="112" height="28">
|
5
5
|
</a>
|
6
6
|
|
7
|
-
<a role="button"
|
7
|
+
<a role="button"
|
8
|
+
class="navbar-burger"
|
9
|
+
data-target="navMenu"
|
10
|
+
aria-label="menu"
|
11
|
+
aria-expanded="false">
|
8
12
|
<span aria-hidden="true"></span>
|
9
13
|
<span aria-hidden="true"></span>
|
10
14
|
<span aria-hidden="true"></span>
|
11
15
|
</a>
|
12
16
|
</div>
|
13
17
|
|
14
|
-
<div class="navbar-menu">
|
18
|
+
<div class="navbar-menu" id="navMenu">
|
15
19
|
<div class="navbar-start">
|
16
20
|
<div class="navbar-item">
|
17
21
|
<a href="#">A link</a>
|
data/_sass/_presets.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
// No presets so far
|
data/assets/css/main.scss
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
document.addEventListener('DOMContentLoaded', function () {
|
2
|
+
var $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
3
|
+
if ($navbarBurgers.length > 0) {
|
4
|
+
$navbarBurgers.forEach(function ($el) {
|
5
|
+
$el.addEventListener('click', function () {
|
6
|
+
var target = $el.dataset.target;
|
7
|
+
var $target = document.getElementById(target);
|
8
|
+
$el.classList.toggle('is-active');
|
9
|
+
$target.classList.toggle('is-active');
|
10
|
+
});
|
11
|
+
});
|
12
|
+
}
|
13
|
+
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bulma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Haslinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- _layouts/page.html
|
70
70
|
- _layouts/post.html
|
71
71
|
- _sass/_overrides.scss
|
72
|
+
- _sass/_presets.scss
|
72
73
|
- _sass/_syntax-highlighting.scss
|
73
74
|
- _sass/base/_all.sass
|
74
75
|
- _sass/base/generic.sass
|
@@ -120,6 +121,7 @@ files:
|
|
120
121
|
- assets/css/main.scss
|
121
122
|
- assets/fonts/ubuntu/ubuntu-v11-latin-ext_latin-regular.woff
|
122
123
|
- assets/fonts/ubuntu/ubuntu-v11-latin-ext_latin-regular.woff2
|
124
|
+
- assets/js/dropdown.js
|
123
125
|
- assets/main.scss
|
124
126
|
- assets/webfonts/fa-brands-400.eot
|
125
127
|
- assets/webfonts/fa-brands-400.svg
|