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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e492abd8142a9b2b7db6642f284644e3712129eb0d622fc556dfe695388087
4
- data.tar.gz: cce1d11b057e5324d8b88f1157bd98f9c719c08b29605eaf38334d4025880a77
3
+ metadata.gz: 6cc7e32e7fef7b211dcac9e56a6e95e83d6f3ad7f09edca3039e03e678350bab
4
+ data.tar.gz: be323ead4ab66b1aed239015fc36ca6cb416cbf7d3c2900af1183f3b687198e5
5
5
  SHA512:
6
- metadata.gz: 9aef4be0acb9cbcb76bc235861e232be1054c0c7c8a8bdc7c0b8f58900eb965246f5f179c5414dcc3418f953706dac41966ff52ec7ea0a394c6c01e6d11ba37e
7
- data.tar.gz: 835e6b46562e2ed80ec85808fee7a3a86c3d72afb72aabd2cb80e5e21f00e0c3e8c8cf8212592497243ec97833f6c3f812731ed203bd360487e8323ec9fd6004
6
+ metadata.gz: baa5af26e74e955bf9e6fdcaed92eb0ddc6198c93ef16c0840e15215b89015ca24976186ac782ac88cdbde9a4445a9b175480f5d006687582a5b14832a992c49
7
+ data.tar.gz: ed633ba6155968245dfaaca0a09d1384a4d7fa0c7ca0e810efce4bcd6c105cd539f5b277811dbc47a39e386403758d4c036c70cf6e452ec0b16de046a39909a7
@@ -1,24 +1,26 @@
1
1
  <nav class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
2
- {% if page.type == "home" and paginator.page == 1 %}
3
- <a href="{{ "/" | relative_url }}" class="navbar-brand">{{ site.title | liquify }}</a>
4
- {% else %}
5
- <a href="{{ "/" | relative_url }}" class="navbar-brand">{{ site.title | liquify }}</a>
6
- {% endif %}
7
- <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
8
- <span class="navbar-toggler-icon"></span>
9
- </button>
10
- <div class="collapse navbar-collapse" id="navbarNav">
11
- <div class="navbar-nav mr-auto">
12
- {% assign pages = site.pages | sort: 'title' %}
13
- {% for item in pages %}
14
- {% if item.type == "page" %}
15
- {% if item.title == page.title %}
16
- <a href="{{ item.url | relative_url }}" class="nav-item nav-link active">{{ item.title | liquify }}</a>
17
- {% else %}
18
- <a href="{{ item.url | relative_url }}" class="nav-item nav-link">{{ item.title | liquify }}</a>
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
- {% endif %}
21
- {% endfor %}
22
+ {% endfor %}
23
+ </div>
22
24
  </div>
23
25
  </div>
24
26
  </nav>
@@ -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.9
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: 2021-03-30 00:00:00.000000000 Z
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.1'
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.1'
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.