jumbo-jekyll-theme 4.7.1 → 4.7.2

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: ad62f70b6f996f0b10169eef90087fbe8a09817aff05b119ec05215bf54c43a8
4
- data.tar.gz: f4166c38a77336160312ab0ae8790a6809565ece42fcef14a6505dfadd04a295
3
+ metadata.gz: 893f27ae452d7337035a913824021973144c53e643e77421b018bcaaa9ca17ca
4
+ data.tar.gz: '0880cf5694a3b8d82b0c01ac3f896bd5295d2eee5b8fcd1a6b1b64a824efada9'
5
5
  SHA512:
6
- metadata.gz: b8540cb0bd33ce7ebf0c0a3fde0d6d21be45f33892ad51cda72d2452f4259a10d189b79b7921202f3cd31c7d805a601661c5f30c033e36d7371baa08e2c3909e
7
- data.tar.gz: 2e7fec874f12cc0546725f9c3c5726a7a2e99b819946ef618a951151ea9e63828d586e0925a5c7fed49144eca5a133f133dea4c35177a8df1a18343b504b014e
6
+ metadata.gz: adc93bfba5eba88fb79aa8e3d120ce0a33907b40cbb155ee37ed61b808ec6658a363b1af7084a1e0bb5c64317f82da67a72ff9b405d351ef4545668d84dd090d
7
+ data.tar.gz: 4cf276723efbf10a4d3fc79e8dae56d8fcdacdf8b5ff91efffbfaf8ce9e890fd8c90766c0dad0feaeb719f7882ce75c59efd926248b61d9249e06848d02e894a
@@ -1,7 +1,7 @@
1
1
  {% unless page.edit-on-github == "false" %}
2
2
  {% if site.data.settings.edit-on-github.enabled and site.data.settings.edit-on-github.repo %}
3
- {% assign page_base = page.permalink | split:"/" %}
4
- {% assign page-path = page.path | replace: " ", "" %}
3
+ {% assign page_base = include.pagePermalink | split:"/" %}
4
+ {% assign page-path = include.pagePath | replace: " ", "" %}
5
5
  {% if page_base[1] == "blog" %}
6
6
  {% elsif page_base[1] == "documentation" and site.data.settings.edit-on-github.docs %}
7
7
  {% capture github-home %}{{site.data.settings.edit-on-github.docs}}{% endcapture %}
@@ -1,8 +1,8 @@
1
- {% if page.js-package %}
2
- {% capture js-package %}package-{{page.js-package}}{% endcapture %}
1
+ {% if include.pageJS %}
2
+ {% capture js-package %}package-{{include.pageJS}}{% endcapture %}
3
3
  <script type="text/javascript" src="{% asset_path {{js-package}} %}?v={% bust_cache %}"></script>
4
- {% elsif layout.js-package %}
5
- {% capture js-package %}package-{{layout.js-package}}{% endcapture %}
4
+ {% elsif include.layoutJS %}
5
+ {% capture js-package %}package-{{include.layoutJS}}{% endcapture %}
6
6
  <script type="text/javascript" src="{% asset_path {{js-package}} %}?v={% bust_cache %}"></script>
7
7
  {% else %}
8
8
  <script type="text/javascript" src="{% asset_path package %}?v={% bust_cache %}"></script>
data/_includes/nav.html CHANGED
@@ -1,18 +1,10 @@
1
- {% if site.data.nav.universal-nav %}
2
- {% include universal-nav.html %}
3
- {% endif %}
4
- {% assign page_base = page.url | split: "/" %}
5
- {% assign current_page_url = page.url | replace: "index.html", "" %}
1
+ {% include_cached universal-nav.html %}
2
+ {% assign page_base = include.pageUrl | split: "/" %}
3
+ {% assign current_page_url = include.pageUrl | replace: "index.html", "" %}
6
4
  {% if current_page_url == "/" %}
7
5
  {% assign current_page_url = "do-no-set"%}
8
6
  {% endif %}
9
- <nav class="
10
- {% if layout.nav-light %}
11
- nav-light
12
- {% elsif page.nav-light %}
13
- nav-light
14
- {% endif %}
15
- navbar-inverse navbar-static" id="main-navigation">
7
+ <nav class="navbar-inverse navbar-static" id="main-navigation">
16
8
  <!-- NAVBAR HEADER-->
17
9
  <div class="navbar-header">
18
10
  <button for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse"
data/_layouts/base.html CHANGED
@@ -5,20 +5,14 @@ js-package: main
5
5
  <html lang="en">
6
6
  {% include head.html %}
7
7
  <body>
8
- {% if site.data.settings.google.tag_manager %}
9
- {% include gtm-noscript.html %}
10
- {% endif %}
11
- <div id="wrapper" class="{% if layout.home == true and site.data.settings.home.jumbotron.enabled %}home{% else %}main{% endif %}">
12
- {% include nav.html %}
8
+ <div id="wrapper" class="main">
9
+ {% include_cached nav.html pageUrl=page.url %}
13
10
  <div class="container-fluid">
14
11
  {{content}}
15
- {% if site.data.footer.include %}
16
- {% include {{site.data.footer.include}} %}
17
- {% endif %}
18
- {% include github-edit.html %}
19
- {% include footer.html %}
12
+ {% include_cached github-edit.html pagePath=page.path pagePermalink=page.permalink %}
13
+ {% include_cached footer.html %}
20
14
  </div>
21
15
  </div>
22
- {% include javascript.html %}
16
+ {% include_cached javascript.html pageJS=page.js-package layoutJS=layout.js-package %}
23
17
  </body>
24
18
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.1
4
+ version: 4.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby