jumbo-jekyll-theme-test 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +26 -0
- data/_config.yml +122 -0
- data/_data/authors.yml +7 -0
- data/_data/footer.yml +55 -0
- data/_data/nav.yml +77 -0
- data/_data/news.yaml +230 -0
- data/_data/settings.yml +148 -0
- data/_data/sidebar-nav.yml +23 -0
- data/_data/sticky-tab-bar.yml +29 -0
- data/_includes/breadcrumb.html +97 -0
- data/_includes/css.html +9 -0
- data/_includes/custom.html +1 -0
- data/_includes/display-blog-posts.html +67 -0
- data/_includes/disqus-comments.html +14 -0
- data/_includes/footer.html +70 -0
- data/_includes/github-edit.html +73 -0
- data/_includes/google-analytics-script.html +9 -0
- data/_includes/gtm-noscript.html +5 -0
- data/_includes/gtm-script.html +7 -0
- data/_includes/head.html +44 -0
- data/_includes/hero-banner.html +21 -0
- data/_includes/image.html +6 -0
- data/_includes/javascript.html +9 -0
- data/_includes/jumbotron.html +87 -0
- data/_includes/linaro-404.html +13 -0
- data/_includes/linaro-svg.html +1 -0
- data/_includes/media.html +11 -0
- data/_includes/members.html +63 -0
- data/_includes/nav.html +132 -0
- data/_includes/newsletter-script.html +30 -0
- data/_includes/owl-carousel-homepage.html +103 -0
- data/_includes/pagination-authors.html +36 -0
- data/_includes/pagination-news.html +36 -0
- data/_includes/pagination.html +36 -0
- data/_includes/post-comments.html +9 -0
- data/_includes/post-sidebar.html +74 -0
- data/_includes/post-tags.html +9 -0
- data/_includes/schema.html +50 -0
- data/_includes/shape-divider.html +12 -0
- data/_includes/shape.html +52 -0
- data/_includes/sidebar.html +55 -0
- data/_includes/sticky-tab-bar.html +63 -0
- data/_includes/universal-nav.html +28 -0
- data/_includes/youtube.html +7 -0
- data/_layouts/container-breadcrumb-left-sidebar.html +10 -0
- data/_layouts/container-breadcrumb-right-sidebar.html +9 -0
- data/_layouts/container-breadcrumb-tabs.html +7 -0
- data/_layouts/container-breadcrumb.html +6 -0
- data/_layouts/container-left-sidebar.html +9 -0
- data/_layouts/container-right-sidebar.html +9 -0
- data/_layouts/container.html +9 -0
- data/_layouts/default.html +31 -0
- data/_layouts/full-width-breadcrumb.html +10 -0
- data/_layouts/full-width.html +9 -0
- data/_layouts/home.html +21 -0
- data/_layouts/post-index.html +19 -0
- data/_layouts/post-no-sidebar.html +0 -0
- data/_layouts/post-old.html +70 -0
- data/_layouts/post.html +240 -0
- data/_sass/_bootstrap-compass.scss +9 -0
- data/_sass/_bootstrap-mincer.scss +19 -0
- data/_sass/_bootstrap-sprockets.scss +9 -0
- data/_sass/_bootstrap.scss +56 -0
- data/_sass/app/blog.scss +58 -0
- data/_sass/app/contact.scss +3 -0
- data/_sass/app/custom.scss +1 -0
- data/_sass/app/home.scss +18 -0
- data/_sass/app/overrides.scss +36 -0
- data/_sass/app/search.scss +1 -0
- data/_sass/blog.scss +9 -0
- data/_sass/bootstrap/_alerts.scss +73 -0
- data/_sass/bootstrap/_badges.scss +68 -0
- data/_sass/bootstrap/_breadcrumbs.scss +28 -0
- data/_sass/bootstrap/_button-groups.scss +244 -0
- data/_sass/bootstrap/_buttons.scss +168 -0
- data/_sass/bootstrap/_carousel.scss +270 -0
- data/_sass/bootstrap/_close.scss +36 -0
- data/_sass/bootstrap/_code.scss +69 -0
- data/_sass/bootstrap/_component-animations.scss +37 -0
- data/_sass/bootstrap/_dropdowns.scss +216 -0
- data/_sass/bootstrap/_forms.scss +617 -0
- data/_sass/bootstrap/_glyphicons.scss +307 -0
- data/_sass/bootstrap/_grid.scss +84 -0
- data/_sass/bootstrap/_input-groups.scss +171 -0
- data/_sass/bootstrap/_jumbotron.scss +54 -0
- data/_sass/bootstrap/_labels.scss +66 -0
- data/_sass/bootstrap/_list-group.scss +130 -0
- data/_sass/bootstrap/_media.scss +66 -0
- data/_sass/bootstrap/_mixins.scss +40 -0
- data/_sass/bootstrap/_modals.scss +150 -0
- data/_sass/bootstrap/_navbar.scss +662 -0
- data/_sass/bootstrap/_navs.scss +242 -0
- data/_sass/bootstrap/_normalize.scss +424 -0
- data/_sass/bootstrap/_pager.scss +54 -0
- data/_sass/bootstrap/_pagination.scss +89 -0
- data/_sass/bootstrap/_panels.scss +271 -0
- data/_sass/bootstrap/_popovers.scss +131 -0
- data/_sass/bootstrap/_print.scss +101 -0
- data/_sass/bootstrap/_progress-bars.scss +87 -0
- data/_sass/bootstrap/_responsive-embed.scss +35 -0
- data/_sass/bootstrap/_responsive-utilities.scss +179 -0
- data/_sass/bootstrap/_scaffolding.scss +161 -0
- data/_sass/bootstrap/_tables.scss +234 -0
- data/_sass/bootstrap/_theme.scss +291 -0
- data/_sass/bootstrap/_thumbnails.scss +38 -0
- data/_sass/bootstrap/_tooltip.scss +101 -0
- data/_sass/bootstrap/_type.scss +298 -0
- data/_sass/bootstrap/_utilities.scss +55 -0
- data/_sass/bootstrap/_variables.scss +922 -0
- data/_sass/bootstrap/_wells.scss +29 -0
- data/_sass/bootstrap/mixins/_alerts.scss +14 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
- data/_sass/bootstrap/mixins/_buttons.scss +65 -0
- data/_sass/bootstrap/mixins/_center-block.scss +7 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
- data/_sass/bootstrap/mixins/_forms.scss +88 -0
- data/_sass/bootstrap/mixins/_gradients.scss +58 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +122 -0
- data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
- data/_sass/bootstrap/mixins/_image.scss +33 -0
- data/_sass/bootstrap/mixins/_labels.scss +12 -0
- data/_sass/bootstrap/mixins/_list-group.scss +32 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/_sass/bootstrap/mixins/_opacity.scss +8 -0
- data/_sass/bootstrap/mixins/_pagination.scss +24 -0
- data/_sass/bootstrap/mixins/_panels.scss +24 -0
- data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/_sass/bootstrap/mixins/_size.scss +10 -0
- data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
- data/_sass/bootstrap/mixins/_table-row.scss +28 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
- data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/_sass/core.scss +12 -0
- data/_sass/core/404.scss +189 -0
- data/_sass/core/animations.scss +125 -0
- data/_sass/core/blog.scss +441 -0
- data/_sass/core/breadcrumb.scss +97 -0
- data/_sass/core/carousel-styles.scss +3 -0
- data/_sass/core/carousel.scss +318 -0
- data/_sass/core/cookieconsent.scss +42 -0
- data/_sass/core/critical.scss +0 -0
- data/_sass/core/custom.scss +3 -0
- data/_sass/core/fa.scss +2336 -0
- data/_sass/core/flipclock.scss +434 -0
- data/_sass/core/font-awesome.min.scss +4 -0
- data/_sass/core/fonts.scss +3 -0
- data/_sass/core/footer.scss +169 -0
- data/_sass/core/forms.scss +3 -0
- data/_sass/core/homepage.scss +106 -0
- data/_sass/core/jumbotron.scss +51 -0
- data/_sass/core/lightbox.scss +212 -0
- data/_sass/core/nav.scss +971 -0
- data/_sass/core/owl.carousel.min.scss +6 -0
- data/_sass/core/owl.theme.default.min.scss +6 -0
- data/_sass/core/social-media-icons.scss +67 -0
- data/_sass/core/syntax.scss +65 -0
- data/_sass/core/tables.scss +145 -0
- data/_sass/core/theme.scss +630 -0
- data/_sass/core/twitter-feed.scss +414 -0
- data/_sass/core/universal-nav.scss +154 -0
- data/_sass/core/youtube.scss +65 -0
- data/_sass/home.scss +6 -0
- data/assets/css/main-404.scss +18 -0
- data/assets/css/main-blog.scss +19 -0
- data/assets/css/main-contact.scss +23 -0
- data/assets/css/main-home.scss +22 -0
- data/assets/css/main-lightbox.scss +29 -0
- data/assets/css/main-search.scss +13 -0
- data/assets/css/main.scss +12 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/fonts/fontello.eot +0 -0
- data/assets/fonts/fontello.svg +44 -0
- data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/fonts/lato-regular/LICENSE.txt +93 -0
- data/assets/fonts/lato-regular/Lato-regular.eot +0 -0
- data/assets/fonts/lato-regular/Lato-regular.svg +435 -0
- data/assets/fonts/lato-regular/Lato-regular.ttf +0 -0
- data/assets/fonts/lato-regular/Lato-regular.woff +0 -0
- data/assets/fonts/lato-regular/Lato-regular.woff2 +0 -0
- data/assets/images/Linaro-Logo.svg +1 -0
- data/assets/images/Linaro-Logo_light.png +0 -0
- data/assets/images/Linaro-Logo_standard.svg +1 -0
- data/assets/images/Linaro-Sprinkle.png +0 -0
- data/assets/images/avatar-placeholder.png +0 -0
- data/assets/images/background-image.jpg +0 -0
- data/assets/images/banner.jpg +0 -0
- data/assets/images/breadcrumb-image.jpg +0 -0
- data/assets/images/close.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/favicon.png +0 -0
- data/assets/images/loading.gif +0 -0
- data/assets/images/next.png +0 -0
- data/assets/images/owl.video.play.png +0 -0
- data/assets/images/placeholder.png +0 -0
- data/assets/images/prev.png +0 -0
- data/assets/images/social-media-image.png +0 -0
- data/assets/js/app/custom.js +0 -0
- data/assets/js/app/facebook.js +8 -0
- data/assets/js/app/home.js +46 -0
- data/assets/js/app/main.js +143 -0
- data/assets/js/app/scroll-to-anchors.js +10 -0
- data/assets/js/app/sticky-tab-bar.js +72 -0
- data/assets/js/app/tables.js +35 -0
- data/assets/js/package-blog.js +10 -0
- data/assets/js/package-extended.js +14 -0
- data/assets/js/package-home.js +12 -0
- data/assets/js/package-main.js +10 -0
- data/assets/js/package-search.js +8 -0
- data/assets/js/vendor/bootstrap.js +2377 -0
- data/assets/js/vendor/cognito.js +11 -0
- data/assets/js/vendor/cookieconsent.js +1504 -0
- data/assets/js/vendor/jquery.js +10364 -0
- data/assets/js/vendor/jquery.rss.js +333 -0
- data/assets/js/vendor/jquery.validate.js +1601 -0
- data/assets/js/vendor/lazysizes.js +698 -0
- data/assets/js/vendor/lightbox.js +523 -0
- data/assets/js/vendor/loadCSS.js +35 -0
- data/assets/js/vendor/ls.unveilhooks.js +145 -0
- data/assets/js/vendor/mc.js +255 -0
- data/assets/js/vendor/owl.carousel.js +3475 -0
- data/assets/js/vendor/picturefill.js +1471 -0
- data/assets/js/vendor/shuffle.js +2004 -0
- data/robots.txt +9 -0
- metadata +528 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
{% assign sub-nav-tabs = site.data.sidebar-nav.pages %}
|
2
|
+
{% if sub-nav-tabs %}
|
3
|
+
{% assign page-base = page.url | split:'/' %}
|
4
|
+
{% for each in sub-nav-tabs %}
|
5
|
+
{% for each-url in each.urls %}
|
6
|
+
{% if each-url == page.url %}
|
7
|
+
{% if each.list %}
|
8
|
+
{% assign tab-list = each.list %}
|
9
|
+
{% endif %}
|
10
|
+
{% elsif each.sub-pages-enabled %}
|
11
|
+
{% if page.url contains each-url %}
|
12
|
+
{% assign tab-list = each.list %}
|
13
|
+
{% endif %}
|
14
|
+
{% endif %}
|
15
|
+
{% endfor %}
|
16
|
+
{% if each.custom-include %}
|
17
|
+
{% assign custom-include = each.custom-include %}
|
18
|
+
{% endif %}
|
19
|
+
{% endfor %}
|
20
|
+
{% if tab-list %}
|
21
|
+
<ul class="nav nav-pills nav-stacked" id="stacked-nav">
|
22
|
+
{% for tab in tab-list %}
|
23
|
+
<li class="{% if page-base[1] == tab.base %}active {% elsif page.url == tab.url or tab.active %}active {% endif %}side-nav-button">
|
24
|
+
<a href="{{tab.url}}" role="link">
|
25
|
+
{% if tab.icon %}
|
26
|
+
<div class="ext-left">
|
27
|
+
<img src="{% asset_path '{{tab.icon}}' %}" class="developer-services-icon" alt="{{tab.title}} Icon"/>
|
28
|
+
</div>
|
29
|
+
<div class="ext-right">
|
30
|
+
{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
31
|
+
</div>
|
32
|
+
{% else %}
|
33
|
+
{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
34
|
+
{% endif %}
|
35
|
+
</a>
|
36
|
+
</li>
|
37
|
+
{% if tab.sub-tabs %}
|
38
|
+
{% for sub-tab in tab.sub-tabs %}
|
39
|
+
<li class="{% if page-base[2] == sub-tab.base %}active {% elsif page.url == sub-tab.url or sub-tab.active %}active {% endif %}side-nav-button sub-page">
|
40
|
+
<a href="{{sub-tab.url}}" role="link">
|
41
|
+
{{ sub-tab.title}} {% if sub-tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}
|
42
|
+
</a>
|
43
|
+
</li>
|
44
|
+
{% endfor %}
|
45
|
+
{% endif %}
|
46
|
+
{% endfor %}
|
47
|
+
</ul>
|
48
|
+
{% elsif custom-include %}
|
49
|
+
{% include {{custom-include}}.html %}
|
50
|
+
{% else %}
|
51
|
+
No sidebar content found - please add to _data/sidebar-nav.yml. More information available <a href="/jekyll/includes/sidebar/">here</a>.
|
52
|
+
{% endif %}
|
53
|
+
{% else %}
|
54
|
+
No sidebar settings found - please create a _data/sidebar-nav.yml data file. More information available <a href="/jekyll/includes/sidebar/">here</a>.
|
55
|
+
{% endif %}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
{% assign sub-nav-tabs = site.data.sticky-tab-bar.pages %}
|
2
|
+
|
3
|
+
{% if sub-nav-tabs %}
|
4
|
+
|
5
|
+
{% assign page-base = page.url | split:'/' %}
|
6
|
+
|
7
|
+
{% for each in sub-nav-tabs %}
|
8
|
+
{% for each-url in each.urls %}
|
9
|
+
{% if each-url == page.url %}
|
10
|
+
{% if each.list %}
|
11
|
+
{% assign tab-list = each.list %}
|
12
|
+
{% endif %}
|
13
|
+
{% elsif each.sub-pages-enabled %}
|
14
|
+
{% if page.url contains each-url %}
|
15
|
+
{% assign tab-list = each.list %}
|
16
|
+
{% endif %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
{% if each.custom-include %}
|
20
|
+
{% assign custom-include = each.custom-include %}
|
21
|
+
{% endif %}
|
22
|
+
{% endfor %}
|
23
|
+
|
24
|
+
|
25
|
+
{% if tab-list %}
|
26
|
+
|
27
|
+
<div class="tabbed-area non-sticky-nav" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
|
28
|
+
<nav class="navbar-default" role="navigation"><!-- Nav -->
|
29
|
+
<div class="container">
|
30
|
+
<div class="navbar-header"><!-- Navbar Header -->
|
31
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
|
32
|
+
<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>
|
36
|
+
</button><!-- Navbar Icon Bar Toggle -->
|
37
|
+
<a class="navbar-brand" id="sub-navigation-header" href=""></a><!-- Navbar Brand -->
|
38
|
+
</div>
|
39
|
+
<div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse"><!-- Navbar Collapse -->
|
40
|
+
<ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
|
41
|
+
{% for tab in tab-list %}
|
42
|
+
<li role="presentation" {% if page.url == tab.url %}
|
43
|
+
class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
44
|
+
{% elsif tab.sub-pages and page.url contains tab.url %}
|
45
|
+
class="active tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
46
|
+
{% else %}
|
47
|
+
class="tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"
|
48
|
+
{% endif %}>
|
49
|
+
<a href="{{tab.url}}" aria-controls="overview" role="link">{{tab.title}}</a></li>
|
50
|
+
{% endfor %}
|
51
|
+
</ul>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</nav>
|
55
|
+
</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 %}
|
61
|
+
{% 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 %}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!-- Universal NavBar-->
|
2
|
+
<nav class="navbar navbar-default navbar-static" id="universal-nav">
|
3
|
+
<div class="navbar-header">
|
4
|
+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
5
|
+
<span class="sr-only">Toggle navigation</span>
|
6
|
+
<span class="glyphicon glyphicon-chevron-down"></span>
|
7
|
+
<span class="glyphicon glyphicon-chevron-up"></span>
|
8
|
+
</button>
|
9
|
+
</div>
|
10
|
+
<div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
|
11
|
+
<ul class="nav navbar-nav navbar-right">
|
12
|
+
<li {% if site.title == "Linaro" %}class="active"{% endif %}><a class="linaro" target="_self" href="https://www.linaro.org">Linaro</a></li>
|
13
|
+
<li {% if site.name == "Linaro Connect" %}class="active"{% endif %}><a class="connect" target="_blank" href="https://connect.linaro.org">Connect</a></li>
|
14
|
+
<li {% if site.title == "96Boards" %}class="active"{% endif %}><a class="boards" target="_self" href="https://www.96boards.org">96Boards</a></li>
|
15
|
+
<li {% if site.title == "Developer Cloud" %}class="active"{% endif %}><a class="dev-cloud" target="_blank" href="https://linaro.cloud">Developer Cloud</a></li>
|
16
|
+
<li {% if site.title == "OP-TEE" %}class="dropdown active"{% elsif site.title == "DeviceTree" %}class="dropdown active"{% elsif site.title == "96Boards.ai"%}class="dropdown active"{% elsif site.title == "The OpenDataPlane Project" %}class="dropdown active"{% else %}class="dropdown"{% endif %}">
|
17
|
+
<a class="projects" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Projects <span class="caret"></span></a>
|
18
|
+
<ul class="dropdown-menu">
|
19
|
+
<li><a target="_self" href="https://www.96boards.ai">96Boards.ai</a></li>
|
20
|
+
<li><a target="_self" href="https://www.op-tee.org">OP-TEE.org</a></li>
|
21
|
+
<li><a target="_self" href="https://www.devicetree.org">DeviceTree.org</a></li>
|
22
|
+
<li><a target="_self" href="https://www.opendataplane.org">OpenDataPlane.org</a></li>
|
23
|
+
</ul>
|
24
|
+
</li>
|
25
|
+
</ul>
|
26
|
+
</div>
|
27
|
+
</nav>
|
28
|
+
<!-- End Universal NavBar -->
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
js-package: main
|
3
|
+
---
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html lang="en">
|
6
|
+
{% include head.html %}
|
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 %}
|
13
|
+
{{content}}
|
14
|
+
|
15
|
+
{% if site.data.footer.include %}
|
16
|
+
{% include {{site.data.footer.include}} %}
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% include github-edit.html %}
|
20
|
+
|
21
|
+
{% if site.data.settings.newsletter.enabled == true %}
|
22
|
+
{% include newsletter-script.html %}
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% include footer.html %}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
{% include javascript.html %}
|
29
|
+
|
30
|
+
</body>
|
31
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
js-package: home
|
4
|
+
css-package: home
|
5
|
+
---
|
6
|
+
{% if site.data.settings.home.jumbotron.enabled %}
|
7
|
+
{% include jumbotron.html %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
<div class="container-fluid" id="content-container">
|
11
|
+
<div class="row {% if site.data.settings.home.content-image %}content-background-image-row{% endif %}">
|
12
|
+
{% if site.data.settings.home.content-image %}
|
13
|
+
<div class="content-background-image"
|
14
|
+
style="background-image: url({% asset_path '{{site.data.settings.home.content-image}}' %});"></div>
|
15
|
+
{% endif %}
|
16
|
+
<div class="container {% if site.data.settings.home.content-image %}content-background-image-container{% endif %}">
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: container-breadcrumb
|
3
|
+
title: Blog
|
4
|
+
css-package: blog
|
5
|
+
js-package: blog
|
6
|
+
---
|
7
|
+
<div class="col-md-9">
|
8
|
+
{{content}}
|
9
|
+
{% include display-blog-posts.html %}
|
10
|
+
{% if page.news %}
|
11
|
+
{% include pagination-news.html %}
|
12
|
+
{% else %}
|
13
|
+
{% include pagination.html %}
|
14
|
+
{% endif %}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="col-md-3 blog-sidebar">
|
18
|
+
{% include post-sidebar.html %}
|
19
|
+
</div>
|
File without changes
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
js-package: blog
|
3
|
+
css-package: blog
|
4
|
+
layout: container
|
5
|
+
---
|
6
|
+
{% if page.previous.url %}
|
7
|
+
<a href="{{page.previous.url}}" class="previous_post_anchor">
|
8
|
+
<div class="previous_post"></div>
|
9
|
+
</a>
|
10
|
+
{% endif %}
|
11
|
+
{% if page.next.url %}
|
12
|
+
<a href="{{page.next.url}}" class="next_post_anchor">
|
13
|
+
<div class="next_post"></div>
|
14
|
+
</a>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div class="col-md-9">
|
18
|
+
<article class="post-content">
|
19
|
+
<div class="post-info">
|
20
|
+
<h1>{{page.title }}</h1>
|
21
|
+
|
22
|
+
{% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
|
23
|
+
{% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
|
24
|
+
{% if page.author %}
|
25
|
+
{% assign author = site.authors | where: 'username' , page.author %}
|
26
|
+
{% assign author = author[0] %}
|
27
|
+
<em> By
|
28
|
+
{% if author %}
|
29
|
+
<a href="{{author.url}}">
|
30
|
+
<strong>
|
31
|
+
{{author.name}}
|
32
|
+
</strong>
|
33
|
+
</a>
|
34
|
+
{% else %}
|
35
|
+
<strong>
|
36
|
+
{{page.author}}
|
37
|
+
</strong>
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
</em>
|
41
|
+
{% endif %}
|
42
|
+
</div>
|
43
|
+
{{ content }}
|
44
|
+
</article>
|
45
|
+
|
46
|
+
<hr />
|
47
|
+
|
48
|
+
{% comment %}
|
49
|
+
TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
|
50
|
+
{% endcomment %}
|
51
|
+
|
52
|
+
{% include post-tags.html %}
|
53
|
+
|
54
|
+
{% comment %}
|
55
|
+
COMMENTS - Check to see if comments are toggled for this particular post.
|
56
|
+
{% endcomment %}
|
57
|
+
|
58
|
+
{% include post-comments.html %}
|
59
|
+
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
{% comment %}
|
64
|
+
Display a right side bar.
|
65
|
+
{% endcomment %}
|
66
|
+
|
67
|
+
<div class="col-md-3 blog-sidebar">
|
68
|
+
{% include post-sidebar.html %}
|
69
|
+
</div>
|
70
|
+
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
js-package: blog
|
4
|
+
css-package: blog
|
5
|
+
---
|
6
|
+
{% if page.image.featured %}
|
7
|
+
<div class="container-fluid" {% if page.image.featured %}
|
8
|
+
style="background: #000 url({% asset_path '{{page.image.name}}' %}) no-repeat center center fixed;
|
9
|
+
background-size: cover;
|
10
|
+
-webkit-background-size: cover;
|
11
|
+
-moz-background-size: cover;
|
12
|
+
-o-background-size: cover;
|
13
|
+
background-position-y: 0px"
|
14
|
+
class="jumbotron text-center featured-jumbotron homepage-image-jumbotron"
|
15
|
+
{% else %}
|
16
|
+
class="jumbotron text-center featured-jumbotron"
|
17
|
+
{% endif %}> <!--Fluid Container -->
|
18
|
+
{% if assets[page.image.name] %}
|
19
|
+
<div class="row overlay"> <!--Row -->
|
20
|
+
<div id="featured-jumbotron" class="blog blog-full-page-image-info"> <!--Jumbotron div -->
|
21
|
+
<h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
|
22
|
+
{% if page.author %}
|
23
|
+
{% if site.authors %}
|
24
|
+
{% assign author = site.authors | where: "username", page.author | first %}
|
25
|
+
{% assign author-url = author.url %}
|
26
|
+
{% assign using-data-file = false %}
|
27
|
+
{% elsif site.data.authors %}
|
28
|
+
{% assign using-data-file = true %}
|
29
|
+
{% assign author = site.data.authors | where: "username", page.author | first %}
|
30
|
+
{% assign author-url = "#" %}
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
{% if site.using-data-file %}
|
34
|
+
<img class="blog-author-image" style="
|
35
|
+
background-image:url({% if author.image.name %}
|
36
|
+
{% asset_path '{{author.image.name}}' %}
|
37
|
+
{% else %}
|
38
|
+
{% asset_path 'avatar-placeholder.png' %}
|
39
|
+
{% endif %})" />
|
40
|
+
{% else %}
|
41
|
+
<a href="{{author-url}}">
|
42
|
+
<img class="blog-author-image" style="
|
43
|
+
background-image:url({% if author.image.name %}
|
44
|
+
{% asset_path '{{author.image.name}}' %}
|
45
|
+
{% else %}
|
46
|
+
{% asset_path 'avatar-placeholder.png' %}
|
47
|
+
{% endif %})" />
|
48
|
+
</a>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
{% if page.co-author %}
|
52
|
+
{% if site.authors %}
|
53
|
+
{% assign co-author = site.authors | where: "username", page.co-author | first %}
|
54
|
+
{% assign co-author-url = co-author.url %}
|
55
|
+
{% elsif site.data.authors %}
|
56
|
+
{% assign co-author = site.data.authors | where: "username", page.co-author | first %}
|
57
|
+
{% assign co-author-url = "#" %}
|
58
|
+
{% endif %}
|
59
|
+
<a href="{{co-author-url}}">
|
60
|
+
<img class="blog-author-image" style="
|
61
|
+
background-image:url({% if co-author.image.name %}
|
62
|
+
{% asset_path '{{co-author.image.name}}' %}
|
63
|
+
{% else %}
|
64
|
+
{% asset_path 'avatar-placeholder.png' %}
|
65
|
+
{% endif %})" />
|
66
|
+
</a>
|
67
|
+
<br />
|
68
|
+
<small class="blog-author text-center">
|
69
|
+
{% if using-data-file %}
|
70
|
+
By
|
71
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
72
|
+
and
|
73
|
+
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
74
|
+
{% else %}
|
75
|
+
By
|
76
|
+
<a href="{{author-url}}">
|
77
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
78
|
+
</a>
|
79
|
+
and
|
80
|
+
<a href="{{co-author-url}}">
|
81
|
+
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
82
|
+
</a>
|
83
|
+
{% endif %}
|
84
|
+
</small>
|
85
|
+
<br />
|
86
|
+
{% else %}
|
87
|
+
<br />
|
88
|
+
<small class="blog-author text-center">
|
89
|
+
{% if using-data-file %}
|
90
|
+
By
|
91
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
92
|
+
{% else %}
|
93
|
+
By
|
94
|
+
<a href="{{author-url}}">
|
95
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
96
|
+
</a>
|
97
|
+
{% endif %}
|
98
|
+
</small>
|
99
|
+
<br />
|
100
|
+
{% endif %}
|
101
|
+
{% endif %}
|
102
|
+
{% if page.date %}<small class="blog-date text-center"><em>{{page.date | date: "%A, %B %-d, %Y"}}</em></small>{% endif %}
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
{% if page.shape-divider %}
|
107
|
+
{% include shape-divider.html %}
|
108
|
+
{% endif %}
|
109
|
+
|
110
|
+
</div>
|
111
|
+
{% endif %}
|
112
|
+
{% endif %}
|
113
|
+
|
114
|
+
<div class="container-fluid" id="content-container">
|
115
|
+
<div class="row">
|
116
|
+
<div class="container">
|
117
|
+
{% if site.data.settings.blog.sidebar.display-on-posts %}
|
118
|
+
<div class="col-md-9">
|
119
|
+
<article class="post-content">
|
120
|
+
{% unless page.image.featured %}
|
121
|
+
<div class="post-info">
|
122
|
+
<h1>{{page.title }}</h1>
|
123
|
+
|
124
|
+
{% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
|
125
|
+
{% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
|
126
|
+
{% if page.author %}
|
127
|
+
{% if site.authors %}
|
128
|
+
{% assign author = site.authors | where: "username", page.author | first %}
|
129
|
+
{% assign author-url = author.url %}
|
130
|
+
{% assign using-data-file = false %}
|
131
|
+
{% elsif site.data.authors %}
|
132
|
+
{% assign using-data-file = true %}
|
133
|
+
{% assign author = site.data.authors | where: "username", page.author | first %}
|
134
|
+
{% assign author-url = "#" %}
|
135
|
+
{% endif %}
|
136
|
+
|
137
|
+
<em> By
|
138
|
+
{% if author %}
|
139
|
+
<a href="{{author-url}}">
|
140
|
+
<strong>
|
141
|
+
{{author.name}}
|
142
|
+
</strong>
|
143
|
+
</a>
|
144
|
+
{% else %}
|
145
|
+
<strong>
|
146
|
+
{{page.author}}
|
147
|
+
</strong>
|
148
|
+
{% endif %}
|
149
|
+
|
150
|
+
</em>
|
151
|
+
{% endif %}
|
152
|
+
</div>
|
153
|
+
{% endunless %}
|
154
|
+
{{ content }}
|
155
|
+
</article>
|
156
|
+
|
157
|
+
|
158
|
+
{% if page.featured-products %}
|
159
|
+
<h3>Featured Products</h3>
|
160
|
+
<hr />
|
161
|
+
<div class="row feautured-products-blog-row">
|
162
|
+
{% for each in page.featured-products %}
|
163
|
+
|
164
|
+
{% capture product-perma %}/product/{{each}}/{% endcapture %}
|
165
|
+
|
166
|
+
{% assign product = site.data.product_db.products | where: "product_permalink", product-perma | first %}
|
167
|
+
|
168
|
+
<div class="col-sm-6">
|
169
|
+
<div class="col-xs-3">
|
170
|
+
<div class="featured-product-blog-img">
|
171
|
+
<a href="{{product.product_permalink}}">
|
172
|
+
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="../../product/{{product.product_specification}}/{{each}}/images/{{product.product_images[0]}}" class="lazyload img-responsive" alt="{{product.product_title}}" />
|
173
|
+
</a>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
<div class="col-xs-9">
|
177
|
+
<span class="featured-product-blog-title">{{product.product_title}}</h4>
|
178
|
+
<a class="btn btn-blog btn-xs btn-featured-product" href="{{product.product_permalink}}">View Product</a>
|
179
|
+
</div>
|
180
|
+
</div>
|
181
|
+
{% endfor %}
|
182
|
+
</div>
|
183
|
+
|
184
|
+
<hr/>
|
185
|
+
{% endif %}
|
186
|
+
|
187
|
+
|
188
|
+
{% comment %}
|
189
|
+
TAGS - Check to see if the tags_enabled setting in settings.yml data file is toggled.
|
190
|
+
{% endcomment %}
|
191
|
+
|
192
|
+
{% include post-tags.html %}
|
193
|
+
|
194
|
+
{% comment %}
|
195
|
+
COMMENTS - Check to see if comments are toggled for this particular post.
|
196
|
+
{% endcomment %}
|
197
|
+
|
198
|
+
{% include post-comments.html %}
|
199
|
+
</div>
|
200
|
+
<div class="col-md-3 blog-sidebar no-padding">
|
201
|
+
{% include post-sidebar.html %}
|
202
|
+
</div>
|
203
|
+
{% else %}
|
204
|
+
<div class="col-xs-12 no-padding">
|
205
|
+
<article class="post-content">
|
206
|
+
{% unless page.image.featured %}
|
207
|
+
<div class="post-info">
|
208
|
+
<h1>{{page.title }}</h1>
|
209
|
+
|
210
|
+
{% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
|
211
|
+
{% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
|
212
|
+
{% if page.author %}
|
213
|
+
{% assign author = site.authors | where: 'username' , page.author %}
|
214
|
+
{% assign author = author[0] %}
|
215
|
+
<em> By
|
216
|
+
{% if author %}
|
217
|
+
<a href="{{author-url}}">
|
218
|
+
<strong>
|
219
|
+
{{author.name}}
|
220
|
+
</strong>
|
221
|
+
</a>
|
222
|
+
{% else %}
|
223
|
+
<strong>
|
224
|
+
{{page.author}}
|
225
|
+
</strong>
|
226
|
+
{% endif %}
|
227
|
+
|
228
|
+
</em>
|
229
|
+
{% endif %}
|
230
|
+
</div>
|
231
|
+
{% endunless %}
|
232
|
+
{{ content }}
|
233
|
+
</article>
|
234
|
+
</div>
|
235
|
+
{% endif %}
|
236
|
+
|
237
|
+
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
</div>
|