jekyll-theme-bootstrap4 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/navigation.html +21 -19
- data/_layouts/default.html +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cc7e32e7fef7b211dcac9e56a6e95e83d6f3ad7f09edca3039e03e678350bab
|
4
|
+
data.tar.gz: be323ead4ab66b1aed239015fc36ca6cb416cbf7d3c2900af1183f3b687198e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baa5af26e74e955bf9e6fdcaed92eb0ddc6198c93ef16c0840e15215b89015ca24976186ac782ac88cdbde9a4445a9b175480f5d006687582a5b14832a992c49
|
7
|
+
data.tar.gz: ed633ba6155968245dfaaca0a09d1384a4d7fa0c7ca0e810efce4bcd6c105cd539f5b277811dbc47a39e386403758d4c036c70cf6e452ec0b16de046a39909a7
|
data/_includes/navigation.html
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
<nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
<div class="navbar-
|
12
|
-
|
13
|
-
|
14
|
-
{%
|
15
|
-
{% if item.
|
16
|
-
|
17
|
-
|
18
|
-
|
2
|
+
<div class="container-md">
|
3
|
+
{% if page.type == "home" and paginator.page == 1 %}
|
4
|
+
<a href="{{ "/" | relative_url }}" class="navbar-brand">{{ site.title | liquify }}</a>
|
5
|
+
{% else %}
|
6
|
+
<a href="{{ "/" | relative_url }}" class="navbar-brand">{{ site.title | liquify }}</a>
|
7
|
+
{% endif %}
|
8
|
+
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
9
|
+
<span class="navbar-toggler-icon"></span>
|
10
|
+
</button>
|
11
|
+
<div class="collapse navbar-collapse" id="navbarNav">
|
12
|
+
<div class="navbar-nav mr-auto">
|
13
|
+
{% assign pages = site.pages | sort: 'title' %}
|
14
|
+
{% for item in pages %}
|
15
|
+
{% if item.type == "page" %}
|
16
|
+
{% if item.title == page.title %}
|
17
|
+
<a href="{{ item.url | relative_url }}" class="nav-item nav-link active">{{ item.title | liquify }}</a>
|
18
|
+
{% else %}
|
19
|
+
<a href="{{ item.url | relative_url }}" class="nav-item nav-link">{{ item.title | liquify }}</a>
|
20
|
+
{% endif %}
|
19
21
|
{% endif %}
|
20
|
-
{%
|
21
|
-
|
22
|
+
{% endfor %}
|
23
|
+
</div>
|
22
24
|
</div>
|
23
25
|
</div>
|
24
26
|
</nav>
|
data/_layouts/default.html
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
</head>
|
19
19
|
<body>
|
20
20
|
{% include navigation.html %}
|
21
|
-
<div class="container my-3 my-lg-5">
|
21
|
+
<div class="container-sm my-3 my-lg-5">
|
22
22
|
{{ content }}
|
23
23
|
</div>
|
24
24
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" crossorigin="anonymous"></script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-bootstrap4
|
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
|
- Ramon de C Valle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,20 +38,34 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '13.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: webrick
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.7'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.7'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: jekyll
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '4.
|
61
|
+
version: '4.2'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '4.
|
68
|
+
version: '4.2'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: jekyll-paginate
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
152
|
- !ruby/object:Gem::Version
|
139
153
|
version: '0'
|
140
154
|
requirements: []
|
141
|
-
rubygems_version: 3.0.3
|
155
|
+
rubygems_version: 3.0.3.1
|
142
156
|
signing_key:
|
143
157
|
specification_version: 4
|
144
158
|
summary: A Bootstrap-based Jekyll theme.
|