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 +4 -4
- data/_includes/github-edit.html +2 -2
- data/_includes/javascript.html +4 -4
- data/_includes/nav.html +4 -12
- data/_layouts/base.html +5 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 893f27ae452d7337035a913824021973144c53e643e77421b018bcaaa9ca17ca
|
4
|
+
data.tar.gz: '0880cf5694a3b8d82b0c01ac3f896bd5295d2eee5b8fcd1a6b1b64a824efada9'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc93bfba5eba88fb79aa8e3d120ce0a33907b40cbb155ee37ed61b808ec6658a363b1af7084a1e0bb5c64317f82da67a72ff9b405d351ef4545668d84dd090d
|
7
|
+
data.tar.gz: 4cf276723efbf10a4d3fc79e8dae56d8fcdacdf8b5ff91efffbfaf8ce9e890fd8c90766c0dad0feaeb719f7882ce75c59efd926248b61d9249e06848d02e894a
|
data/_includes/github-edit.html
CHANGED
@@ -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 =
|
4
|
-
{% assign page-path =
|
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 %}
|
data/_includes/javascript.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
{% if
|
2
|
-
{% capture js-package %}package-{{
|
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
|
5
|
-
{% capture js-package %}package-{{
|
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
|
-
{%
|
2
|
-
|
3
|
-
{%
|
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
|
-
|
9
|
-
{%
|
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
|
-
{%
|
16
|
-
|
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
|
-
{%
|
16
|
+
{% include_cached javascript.html pageJS=page.js-package layoutJS=layout.js-package %}
|
23
17
|
</body>
|
24
18
|
</html>
|