jumbo-jekyll-theme 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +26 -16
  3. data/_data/footer.yml +3 -1
  4. data/_data/nav.yml +1 -3
  5. data/_data/settings.yml +35 -93
  6. data/_includes/breadcrumb.html +92 -94
  7. data/_includes/carousel-header.html +15 -0
  8. data/_includes/display-blog-posts.html +9 -9
  9. data/_includes/disqus-comments.html +20 -14
  10. data/_includes/footer.html +62 -64
  11. data/_includes/jumbotron.html +30 -85
  12. data/_includes/linaro-404.html +0 -3
  13. data/_includes/nav.html +3 -3
  14. data/_includes/post-sidebar.html +6 -6
  15. data/_includes/sidebar.html +1 -1
  16. data/_includes/sticky-tab-bar.html +16 -18
  17. data/_layouts/author.html +1 -1
  18. data/_layouts/container-breadcrumb.html +16 -3
  19. data/_layouts/container.html +6 -7
  20. data/_layouts/default.html +8 -10
  21. data/_layouts/error.html +23 -0
  22. data/_layouts/jumbotron-container.html +19 -0
  23. data/_layouts/jumbotron.html +8 -0
  24. data/_layouts/post-index.html +0 -1
  25. data/_layouts/post.html +36 -122
  26. data/_sass/app/overrides.scss +9 -8
  27. data/_sass/blog.scss +1 -1
  28. data/_sass/bootstrap/_variables.scss +7 -6
  29. data/_sass/core.scss +4 -0
  30. data/_sass/core/blog.scss +6 -5
  31. data/_sass/core/breadcrumb.scss +2 -2
  32. data/_sass/core/carousel-header.scss +91 -0
  33. data/_sass/core/carousel-styles.scss +1 -0
  34. data/_sass/core/carousel.scss +0 -6
  35. data/_sass/core/cookieconsent.scss +3 -6
  36. data/_sass/core/{404.scss → error.scss} +5 -8
  37. data/_sass/core/featherlight.scss +158 -0
  38. data/_sass/core/footer.scss +19 -42
  39. data/_sass/core/homepage.scss +1 -88
  40. data/_sass/core/jumbotron.scss +58 -25
  41. data/_sass/core/nav.scss +67 -89
  42. data/_sass/core/theme.scss +10 -0
  43. data/_sass/core/universal-nav.scss +17 -10
  44. data/_sass/home.scss +0 -1
  45. data/assets/css/{main-404.scss → main-error.scss} +1 -5
  46. data/assets/images/content/background-image1.jpg +0 -0
  47. data/assets/images/content/background-image2.png +0 -0
  48. data/assets/images/content/background-image3.jpg +0 -0
  49. data/assets/js/app/facebook.js +1 -1
  50. data/assets/js/app/main.js +82 -62
  51. data/assets/js/app/search.js +29 -0
  52. data/assets/js/app/sticky-tab-bar.js +16 -17
  53. data/assets/js/package-blog.js +2 -1
  54. data/assets/js/package-extended.js +3 -1
  55. data/assets/js/package-home.js +4 -2
  56. data/assets/js/package-main.js +2 -0
  57. data/assets/js/package-search.js +2 -0
  58. data/assets/js/vendor/cookieconsent.js +0 -9
  59. data/assets/js/vendor/featherlight.js +641 -0
  60. metadata +59 -42
  61. data/_includes/post-comments.html +0 -9
  62. data/_includes/shape-divider.html +0 -12
  63. data/_includes/shape.html +0 -52
  64. data/_layouts/container-breadcrumb-left-sidebar.html +0 -10
  65. data/_layouts/container-breadcrumb-right-sidebar.html +0 -9
  66. data/_layouts/container-breadcrumb-tabs.html +0 -7
  67. data/_layouts/container-left-sidebar.html +0 -9
  68. data/_layouts/container-right-sidebar.html +0 -9
  69. data/_layouts/full-width-breadcrumb.html +0 -10
  70. data/_layouts/full-width.html +0 -9
  71. data/_layouts/home.html +0 -21
  72. data/_layouts/post-no-sidebar.html +0 -0
  73. data/_sass/app/home.scss +0 -18
  74. data/_sass/core/twitter-feed.scss +0 -414
  75. data/assets/css/main-contact.scss +0 -23
  76. data/assets/css/main-home.scss +0 -22
  77. data/assets/css/main-lightbox.scss +0 -29
  78. data/assets/images/background-image.jpg +0 -0
  79. data/assets/images/banner.jpg +0 -0
  80. data/assets/js/vendor/lightbox.js +0 -523
@@ -0,0 +1,15 @@
1
+ {% assign images = include.images %}
2
+ <!-- Carousel Header -->
3
+ <div class="row">
4
+ <div class="carousel slide carousel-fade" id="header-carousel" data-ride="carousel">
5
+ <div class="carousel-inner" role="listbox">
6
+ {% for image in images %}
7
+ <div data-src="{{image}}" style="{% if forloop.index == 1%}background: url('{{image}}');{% else %}{% endif %}background-size:cover; background-position:center center; background-repeat: no-repeat;"
8
+ class=" item {% if forloop.index == 1%}active{% else %}{% endif %}">
9
+ </div>
10
+ {% endfor %}
11
+ </div>
12
+ </div>
13
+ </div>
14
+ <!-- End Carousel Header -->
15
+
@@ -5,32 +5,32 @@
5
5
  <a href="{{post.url}}">
6
6
  {% if post.image.thumb %}
7
7
  <picture>
8
- <source srcset="{% asset_path '{{post.image.thumb}}' %}"
8
+ <source srcset="{{post.image.thumb}}"
9
9
  media="(max-width: 999px)" />
10
- <source srcset="{% asset_path '{{post.image.thumb}}' %}"
10
+ <source srcset="{{post.image.thumb}}"
11
11
  media="(min-width: 1000px)" />
12
12
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
13
- data-src="{% asset_path '{{post.image.thumb}}' %}"
13
+ data-src="{{post.image.thumb}}"
14
14
  class="lazyload img-responsive center-block"/>
15
15
  </picture>
16
16
  {% elsif post.image.name %}
17
17
  <picture>
18
- <source srcset="{% asset_path '{{post.image.name}}' %}"
18
+ <source srcset="{{post.image.name}}"
19
19
  media="(max-width: 999px)" />
20
- <source srcset="{% asset_path '{{post.image.name}}' %}"
20
+ <source srcset="{{post.image.name}}"
21
21
  media="(min-width: 1000px)" />
22
22
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
23
- data-src="{% asset_path '{{post.image.name}}' %}"
23
+ data-src="{{post.image.name}}"
24
24
  class="lazyload img-responsive center-block"/>
25
25
  </picture>
26
26
  {% else %}
27
27
  <picture>
28
- <source srcset="{% asset_path '{{site.data.settings.placeholder}}' %}"
28
+ <source srcset="{{site.data.settings.placeholder}}"
29
29
  media="(max-width: 999px)" />
30
- <source srcset="{% asset_path '{{site.data.settings.placeholder}}' %}"
30
+ <source srcset="{{site.data.settings.placeholder}}"
31
31
  media="(min-width: 1000px)" />
32
32
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
33
- data-src="{% asset_path '{{site.data.settings.placeholder}}' %}"
33
+ data-src="{{site.data.settings.placeholder}}"
34
34
  class="lazyload img-responsive center-block"/>
35
35
  </picture>
36
36
  {% endif %}
@@ -1,14 +1,20 @@
1
- <section class="disqus">
2
- <div id="disqus_thread"></div>
3
- <script type="text/javascript">
4
- var disqus_shortname = '{{ site.data.settings.disqus.shortname }}';
5
- var disqus_developer = 0; // developer mode is on
6
- (function() {
7
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
9
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10
- })();
11
- </script>
12
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13
- <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
14
- </section>
1
+ {% unless page.comments == false %}
2
+ <section id="comments-section">
3
+ <h3>Comments</h3>
4
+ <section class="disqus">
5
+ <div id="disqus_thread"></div>
6
+ <script type="text/javascript">
7
+ var disqus_shortname = '{{ site.data.settings.disqus.shortname }}';
8
+ var disqus_developer = 0; // developer mode is on
9
+ (function() {
10
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
11
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
12
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
13
+ })();
14
+ </script>
15
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
16
+ <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
17
+ </section>
18
+ </section>
19
+ {% endunless %}
20
+
@@ -1,70 +1,68 @@
1
- <div class="container-fluid footer">
2
- <div class="row">
3
- <footer id="footer">
4
- <div class="container">
5
- <div class="row main-footer-content">
6
- {% for column in site.data.footer.columns %}
7
- <div class="col-xs-6 col-md-2">
8
- <ul class="list-unstyled ">
9
- <li><b><a class="footer-heading" href="{% if column.url %}{{column.url}}{% else %}#{% endif %}">{{column.title}}</a></b></li>
10
- {% if column.items %} {% for item in column.items %}
11
- <li><a class="footer-element" href="{{item.url}}">{{item.text}}</a></li>
12
- {% endfor %} {% endif %}
13
- </ul>
14
- </div>
15
- {% endfor %} {% if site.data.footer.image %}
16
- <div class="col-xs-6 col-md-2">
17
- <a href="/">
18
- <img src="{% if site.data.footer.image %}{% asset_path '{{site.data.footer.image}}' %}{% endif %}" class="footer-logo pull-right" alt="{{site.data.settings.name}}" />
19
- </a>
20
- </div>
21
- {% endif %}
1
+ <div class="row footer">
2
+ <footer id="footer">
3
+ <div class="container">
4
+ <div class="row main-footer-content">
5
+ {% for column in site.data.footer.columns %}
6
+ <div class="col-xs-6 col-md-2">
7
+ <ul class="list-unstyled ">
8
+ <li><b><a class="footer-heading" href="{% if column.url %}{{column.url}}{% else %}#{% endif %}">{{column.title}}</a></b></li>
9
+ {% if column.items %} {% for item in column.items %}
10
+ <li><a class="footer-element" href="{{item.url}}">{{item.text}}</a></li>
11
+ {% endfor %} {% endif %}
12
+ </ul>
22
13
  </div>
23
-
24
- <div class="row footer-strip">
25
- <div class="container no-padding">
26
- <div class="col-md-6 company-footer-bottom">
27
- <a href="{{site.data.linaro.url}}"><img src="{% asset_path '{{site.data.settings.linaro-footer-image}}' %}" class="linaro-logo" alt="Linaro Icon" /></a>
28
- Copyright &copy; {{ 'now' | date: "%Y" }} Linaro Limited <a href="{{site.data.linaro.url}}">{{site.data.linaro.name}}</a>
29
- {% for link in site.data.footer.company-links %}
30
- <span class="coloured-bp">&bull;</span>
31
- <a href="{{link.url}}">{{link.name}}</a>
32
- {% endfor %}
33
- {% if site.data.settings.newsletter.url %}
34
- <span class="coloured-bp">&bull;</span>
35
- <a href="{{site.data.settings.newsletter.url}}">Subscribe to Newsletter</a>
36
- {% else %}
37
- {% if site.data.settings.newsletter.enabled %}
38
- <span class="coloured-bp">&bull;</span>
39
- <a href="#" id="open-newsletter-popup">Subscribe to Newsletter</a>
40
- {% endif %}
41
- {% endif %}
42
- </div>
43
- <div class="col-md-6 social-footer-bottom text-right no-padding">
44
- {% if site.data.settings.facebook_username %}
45
- <a href="http://facebook.com/{{site.data.settings.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
46
- {% endif %}
47
- {% if site.data.settings.github_username %}
48
- <a href="https://github.com/{{site.data.settings.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
49
- {% endif %}
50
- {% if site.data.settings.google_plus_username %}
51
- <a href="https://plus.google.com/{{site.data.settings.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
52
- {% endif %}
53
- {% if site.data.settings.linkedin_username %}
54
- <a href="https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
55
- {% endif %}
56
- {% if site.data.settings.twitter_username %}
57
- <a href="https://twitter.com/{{site.data.settings.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
58
- {% endif %}
59
- {% if site.data.settings.youtube_username %}
60
- <a href="https://www.youtube.com/{{site.data.settings.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
14
+ {% endfor %} {% if site.data.footer.image %}
15
+ <div class="col-xs-6 col-md-2">
16
+ <a href="/">
17
+ <img src="{% if site.data.footer.image %}{% asset_path '{{site.data.footer.image}}' %}{% endif %}" class="footer-logo pull-right" alt="{{site.data.settings.name}}" />
18
+ </a>
19
+ </div>
20
+ {% endif %}
21
+ </div>
22
+ <div class="row footer-strip">
23
+ <div class="container no-padding">
24
+ <div class="col-md-6 company-footer-bottom">
25
+ {% if site.data.footer.footer-image-url %}<a href="{{site.data.footer.footer-image-url}}"><img src="{{site.data.footer.footer-image}}"
26
+ class="footer-logo" alt="{{site.title}} Footer Icon" /></a>{% endif %}
27
+ Copyright &copy; {{ 'now' | date: "%Y" }} {{site.data.footer.company-copyright-text}}
28
+ {% for link in site.data.footer.company-links %}
29
+ <span class="coloured-bp">&bull;</span>
30
+ <a href="{{link.url}}">{{link.name}}</a>
31
+ {% endfor %}
32
+ {% if site.data.settings.newsletter.url %}
33
+ <span class="coloured-bp">&bull;</span>
34
+ <a href="{{site.data.settings.newsletter.url}}">Subscribe to Newsletter</a>
35
+ {% else %}
36
+ {% if site.data.settings.newsletter.enabled %}
37
+ <span class="coloured-bp">&bull;</span>
38
+ <a href="#" id="open-newsletter-popup">Subscribe to Newsletter</a>
61
39
  {% endif %}
62
- </div>
63
- <div style="clear:both;"></div>
40
+ {% endif %}
41
+ </div>
42
+ <div class="col-md-6 social-footer-bottom text-right no-padding">
43
+ {% if site.data.settings.facebook_username %}
44
+ <a href="http://facebook.com/{{site.data.settings.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
45
+ {% endif %}
46
+ {% if site.data.settings.github_username %}
47
+ <a href="https://github.com/{{site.data.settings.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
48
+ {% endif %}
49
+ {% if site.data.settings.google_plus_username %}
50
+ <a href="https://plus.google.com/{{site.data.settings.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
51
+ {% endif %}
52
+ {% if site.data.settings.linkedin_username %}
53
+ <a href="https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
54
+ {% endif %}
55
+ {% if site.data.settings.twitter_username %}
56
+ <a href="https://twitter.com/{{site.data.settings.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
57
+ {% endif %}
58
+ {% if site.data.settings.youtube_username %}
59
+ <a href="https://www.youtube.com/{{site.data.settings.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
60
+ {% endif %}
64
61
  </div>
62
+ <div style="clear:both;"></div>
65
63
  </div>
66
- <!--/.container-->
67
64
  </div>
68
- </footer>
69
- </div>
65
+ <!--/.container-->
66
+ </div>
67
+ </footer>
70
68
  </div>
@@ -1,87 +1,32 @@
1
- <div class="container-fluid" id="homepage-header"
2
- {% if site.data.settings.home.jumbotron.background-image.name %}
3
- style="background-image: url('{% asset_path '{{site.data.settings.home.jumbotron.background-image.name}}' %}');"
1
+ <div class="row {% if site.data.settings.jumbotron.darken %}overlay{% endif %}" id="jumbotron"
2
+ {% if page.jumbotron.background-image %}
3
+ style="background-image: url('{{page.jumbotron.background-image}}');"
4
4
  {% else %}
5
5
  class="jumbotron text-center featured-jumbotron"
6
- {% endif %}> <!--Fluid Container -->
7
- <div class="row {% if site.data.settings.home.jumbotron.background-image.darken %}overlay{% endif %}"> <!--Row -->
8
- <div id="featured-jumbotron"> <!--Jumbotron div -->
9
- <div class="container" id="jumbotron-text"> <!--Container -->
10
-
11
-
12
- {% if site.data.settings.home.jumbotron.included_file %}
13
- {% include {{site.data.settings.home.jumbotron.included_file}} %}
14
- {% else %}
15
-
16
- {% if site.data.settings.home.jumbotron.image %}
17
- <div class="col-md-12">
18
- <img src="{% asset_path '{{site.data.settings.home.jumbotron.image}}' %}" id="home-hero-image"
19
- class="img-responsive center-block animated fadeIn" alt="{{site.title}} Home Page Image">
20
- </div>
21
- {% endif %}
22
-
23
- {% if site.data.settings.home.jumbotron.title %}
24
-
25
- <h1 id="home-page-title" class="fade-in-one" id="homepage-heading">
26
- {% if site.data.settings.home.jumbotron.title.first-line.display %}
27
- {% if site.data.settings.home.jumbotron.title.first-line.bold %}
28
- <strong>
29
- {{site.data.settings.home.jumbotron.title.first-line.text}}
30
- </strong>
31
- {% else %}
32
- {{site.data.settings.home.jumbotron.title.first-line.text}}
33
- {% endif %}
34
- {% endif %}
35
- {% if site.data.settings.home.jumbotron.title.second-line.display %}
36
- {% if site.data.settings.home.jumbotron.title.second-line.bold %}
37
- <br /><strong>{{site.data.settings.home.jumbotron.title.second-line.text}}</strong>
38
- {% else %}
39
- <br />{{site.data.settings.home.jumbotron.title.second-line.text}}
40
- {% endif %}
41
- {% endif %}
42
- </h1>
43
- {% endif %}
44
-
45
- {% if site.data.settings.home.jumbotron.sub-title %}
46
- <p id="home-page-text" class="sub-tag center-block fade-in-two">
47
- {% if site.data.settings.home.jumbotron.sub-title.first-line.display %}
48
- {% if site.data.settings.home.jumbotron.sub-title.first-line.bold %}
49
- <strong>
50
- <span>{{site.data.settings.home.jumbotron.sub-title.first-line.text}}</span>
51
- </strong>
52
- {% else %}
53
- <span>{{site.data.settings.home.jumbotron.sub-title.first-line.text}}</span>
54
- {% endif %}
55
- {% endif %}
56
- {% if site.data.settings.home.jumbotron.sub-title.second-line.display %}
57
- {% if site.data.settings.home.jumbotron.sub-title.second-line.bold %}
58
- <br />
59
- <strong>
60
- <span>{{site.data.settings.home.jumbotron.sub-title.second-line.text}}</span>
61
- </strong>
62
- {% else %}
63
- <span>{{site.data.settings.home.jumbotron.sub-title.second-line.text}}</span>
64
- {% endif %}
65
- {% endif %}
66
- </p>
67
- {% endif %}
68
-
69
- {% if site.data.settings.home.jumbotron.buttons %}
70
- <p id="buttons">
71
- {% for button in site.data.settings.home.jumbotron.buttons %}
72
- <a class="{{button.class}}" href="{{button.url}}" role="button">
73
- {{button.text}}
74
- </a>
75
- {% endfor %}
76
- </p>
77
- {% endif %}
78
-
79
- {% endif %}
80
-
81
- </div><!-- End Jumbotron Container Div -->
82
- {% if site.data.settings.home.shaped-divider %}
83
- {% include shape-divider.html %}
84
- {% endif %}
85
- </div> <!--End Jumbotron div -->
86
- </div> <!--row -->
87
- </div> <!--End Container-fluid -->
6
+ {% endif %}> <!--Row -->
7
+ <div id="jumbotron-content" class=" flex-container"> <!--Jumbotron div -->
8
+ <div class="container flex-center" id="jumbotron-text"> <!--Container -->
9
+ {% if page.title %}
10
+ <h1 class="{% if page.carousel-header.animation == "fade" %}fade-in-one{% endif %}" id="jumbotron-heading">
11
+ {{page.title}}
12
+ </h1>
13
+ {% if page.description %}
14
+ <p class="center-block {% if page.carousel-header.animation == "fade" %}fade-in-two{% endif %}" id="jumbotron-sub-title">
15
+ {{page.description}}
16
+ </p>
17
+ {% endif %}
18
+ {% if page.carousel-header.buttons %}
19
+ <p id="buttons">
20
+ {% for button in page.carousel-header.buttons %}
21
+ <a class="btn btn-primary btn-lg {% if page.carousel-header.animation == "fade" %}fade-in-three{% endif %}" href="{{button.url}}" role="button">
22
+ {{button.title}} <i class="{{button.class}}"></i>
23
+ </a>
24
+ {% endfor %}
25
+ </p>
26
+ {% endif %}
27
+ {% else %}
28
+ {% include header-content %}
29
+ {% endif %}
30
+ </div><!-- End Jumbotron Container Div -->
31
+ </div> <!--End Jumbotron div -->
32
+ </div> <!--row -->
@@ -1,9 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
-
3
2
  <svg id="Linaro-Sprinkle" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" data-name="Linaro Sprinkle">
4
-
5
3
  <title>Linaro-Logo</title>
6
-
7
4
  <path class="cls-1 green-big" d="m454.13 73.48h-128.7a20.88 20.88 0 0 0 -20.89 20.87v128.65a20.88 20.88 0 0 0 20.89 20.87h128.7a20.87 20.87 0 0 0 20.87 -20.87v-128.65a20.86 20.86 0 0 0 -20.87 -20.87z"></path>
8
5
  <path class="cls-2 red" d="m186.6 73.22h-107.91a17.5 17.5 0 0 0 -17.51 17.49v107.91a17.51 17.51 0 0 0 17.51 17.5h107.91a17.5 17.5 0 0 0 17.5 -17.5v-107.91a17.49 17.49 0 0 0 -17.5 -17.49z"></path>
9
6
  <path class="cls-3 pink" d="m212.13 310.22h-88a14.28 14.28 0 0 0 -14.28 14.27v88a14.28 14.28 0 0 0 14.28 14.27h88a14.27 14.27 0 0 0 14.27 -14.27v-88a14.27 14.27 0 0 0 -14.27 -14.27z"></path>
data/_includes/nav.html CHANGED
@@ -12,9 +12,9 @@ navbar-inverse navbar-static" id="main-navigation">
12
12
  <div class="navbar-header">
13
13
  <button for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" aria-controls="navbar">
14
14
  <span class="sr-only">Toggle navigation</span>
15
- <span class="icon-bar"></span>
16
- <span class="icon-bar"></span>
17
- <span class="icon-bar"></span>
15
+ <span class="icon-bar top-bar"></span>
16
+ <span class="icon-bar middle-bar"></span>
17
+ <span class="icon-bar bottom-bar"></span>
18
18
  </button>
19
19
  {% if site.data.nav.brand %}
20
20
  <a class="navbar-brand " href="{{site.data.nav.brand.url}}">
@@ -14,12 +14,12 @@
14
14
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
15
15
  {% if post.image.featured %}
16
16
  {% if post.image.thumb %}
17
- data-src="{% asset_path '{{post.image.thumb}}' %}"
17
+ data-src="{{post.image.thumb}}"
18
18
  {% else %}
19
- data-src="{% asset_path '{{post.image.name}}' %}"
19
+ data-src="{{post.image.path}}"
20
20
  {% endif %}
21
21
  {% else %}
22
- data-src="{% asset_path '{{site.data.settings.placeholder}}' %}"
22
+ data-src="{{site.data.settings.placeholder}}"
23
23
  {% endif %}
24
24
  alt="{{post.title}}" class="img-responsive lazyload"/>
25
25
  </div>
@@ -50,12 +50,12 @@
50
50
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
51
51
  {% if post.image.featured %}
52
52
  {% if post.image.thumb %}
53
- data-src="{% asset_path '{{post.image.thumb}}'%}"
53
+ data-src="{{post.image.thumb}}"
54
54
  {% else %}
55
- data-src="{% asset_path '{{post.image.name}}' %}"
55
+ data-src="{{post.image.path}}"
56
56
  {% endif %}
57
57
  {% else %}
58
- data-src="{% asset_path '{{site.data.settings.placeholder}}' %}"
58
+ data-src="{{site.data.settings.placeholder}}"
59
59
  {% endif %}
60
60
  alt="{{post.title}}" class="img-responsive lazyload"/>
61
61
  </div>
@@ -24,7 +24,7 @@
24
24
  <a href="{{tab.url}}" role="link">
25
25
  {% if tab.icon %}
26
26
  <div class="ext-left">
27
- <img src="{% asset_path '{{tab.icon}}' %}" class="developer-services-icon" alt="{{tab.title}} Icon"/>
27
+ <img src="{{tab.icon}}" class="developer-services-icon" alt="{{tab.title}} Icon"/>
28
28
  </div>
29
29
  <div class="ext-right">
30
30
  {{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
@@ -1,9 +1,10 @@
1
+ {% if page.sticky-tab-bar %}
2
+ {% assign tab-list = page.sticky-tab-bar %}
3
+ {% else %}
1
4
  {% assign sub-nav-tabs = site.data.sticky-tab-bar.pages %}
2
-
5
+ {% endif %}
3
6
  {% if sub-nav-tabs %}
4
-
5
7
  {% assign page-base = page.url | split:'/' %}
6
-
7
8
  {% for each in sub-nav-tabs %}
8
9
  {% for each-url in each.urls %}
9
10
  {% if each-url == page.url %}
@@ -20,19 +21,17 @@
20
21
  {% assign custom-include = each.custom-include %}
21
22
  {% endif %}
22
23
  {% endfor %}
23
-
24
-
25
- {% if tab-list %}
26
-
24
+ {% endif %}
25
+ {% if tab-list %}
27
26
  <div class="tabbed-area non-sticky-nav" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
28
27
  <nav class="navbar-default" role="navigation"><!-- Nav -->
29
28
  <div class="container">
30
29
  <div class="navbar-header"><!-- Navbar Header -->
31
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
30
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
32
31
  <span class="sr-only">Toggle navigation</span>
33
- <span class="icon-bar"></span>
34
- <span class="icon-bar"></span>
35
- <span class="icon-bar"></span>
32
+ <span class="icon-bar top-bar"></span>
33
+ <span class="icon-bar middle-bar"></span>
34
+ <span class="icon-bar bottom-bar"></span>
36
35
  </button><!-- Navbar Icon Bar Toggle -->
37
36
  <a class="navbar-brand" id="sub-navigation-header" href=""></a><!-- Navbar Brand -->
38
37
  </div>
@@ -43,6 +42,8 @@
43
42
  class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
44
43
  {% elsif tab.sub-pages and page.url contains tab.url %}
45
44
  class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
45
+ {% elsif tab.active %}
46
+ class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
46
47
  {% else %}
47
48
  class="tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
48
49
  {% endif %}>
@@ -53,11 +54,8 @@
53
54
  </div>
54
55
  </nav>
55
56
  </div>
56
- {% elsif custom-include %}
57
- {% include {{custom-include}}.html %}
58
- {% else %}
59
- No sticky-nav.yml content found - please add to _data/sticky-tab-bar.yml. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
60
- {% endif %}
57
+ {% elsif custom-include %}
58
+ {% include {{custom-include}}.html %}
61
59
  {% else %}
62
- No sidebar settings found - please create a _data/sticky-tab-bar.yml data file. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
63
- {% endif %}
60
+ No sticky-nav.yml content found - please add to _data/sticky-tab-bar.yml. More information available <a href="/jekyll/includes/sticky-tab-bar/">here</a>.
61
+ {% endif %}