linaro-jekyll-theme 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 6c3419bb8fe35994e006ef3f17b3a15c1a3b261d
4
- data.tar.gz: eed567cdfa5682fdd76ae09caa97c263da1f2ec4
3
+ metadata.gz: 6078b765aaf0132573836c7d52f83f147b0e199b
4
+ data.tar.gz: a9e8b12cbf8b1a2c1f8cf6c6d13dae0a37790b0b
5
5
  SHA512:
6
- metadata.gz: 6228ef6f9a8f3d329bd395403a494d7d4def3c7d437ed4d87a5a5a891c0b9ebfa507ebca92195d404aee445e84945b87f890d89093e7e259341aa122b39a5b71
7
- data.tar.gz: 68acfdf446b1dd7e15cf177a05111fbb4d3319255adbb945694456d9f356a33af50a0169e5839e0536d62a52318141cb60065069357db09c8fc11a00877fb1bf
6
+ metadata.gz: ab1d6ea6fda4cee4ac75f043d98a8d7a579df7b591d615c603d78d9ba9dd5a246d29a33126503aa7a01d59f062270962e12b41e51346e3a910e17ad2ddab4e13
7
+ data.tar.gz: 8f974d5c308356e45d05efa906f503a6a2f2ceef76a6aaee070cff4d57b80c80950a713ca4877dd9692f32a5bf02011bf1a1608fbd09086f6fa08cc6a979c0c2
@@ -1,9 +1,3 @@
1
- {% if page.url == "/about/" or page.url == "/compliance/" or page.url == "/specifications/" or page.url == "/membership/" or page.url == "/news/" %}
2
- {% include _theme-includes/members.html %}
3
- {% endif %}
4
- {% if page.url != "/search/" %}
5
- {% include _theme-includes/_third-party/mailchimp-homepage.html %}
6
- {% endif %}
7
1
  </div>
8
2
  <div class="row">
9
3
  <footer>
@@ -12,138 +12,14 @@
12
12
  </div>
13
13
  <div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse">
14
14
  <ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
15
- {% assign page_base = page.url | split:'/' %}
16
- <!--About Sub Navigation START-->
17
- {% if page.permalink == "/about/" or
18
- page.permalink == "/specifications/" or
19
- page.permalink == "/compliance/" or
20
- page.permalink == "/membership/" or
21
- page.permalink == "/news/" or
22
- page.permalink == "/partner/" %}
23
- <li role="presentation" {% if page.permalink == '/about/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/about/" aria-controls="overview" role="link">96Boards Overview</a></li>
24
- <li role="presentation" {% if page.permalink == '/specifications/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/specifications/" aria-controls="lswg" role="link">Specifications</a></li>
25
- <li role="presentation" {% if page.permalink == '/compliance/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/compliance/" aria-controls="lswg" role="link">Compliance</a></li>
26
- <li role="presentation" {% if page.permalink == '/membership/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/membership/" aria-controls="lswg" role="link">Membership</a></li>
27
- <li role="presentation" {% if page.permalink == '/news/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/news/" aria-controls="lswg" role="link">News</a></li>
28
- {% endif %}
29
- <!--About Sub Navigation END-->
30
-
31
- <!--Products Sub Navigation START-->
32
- {% if page.permalink == "/products/" or
33
- page.permalink == "/products/ce/" or
34
- page.permalink == "/products/ee/" or
35
- page.permalink == "/products/ie/" or
36
- page.permalink == "/products/mezzanine/" or
37
- page.permalink == "/products/accessories/" %}
38
- {% assign active == "active" %}
39
- <li role="presentation" {% if page.permalink == '/products/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/" aria-controls="overview" role="link">Latest Boards</a></li>
40
- <li role="presentation" {% if page.permalink == '/products/ce/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/ce/" aria-controls="lswg" role="link">Consumer Edition</a></li>
41
- <li role="presentation" {% if page.permalink == '/products/ee/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/ee/" aria-controls="lswg" role="link">Enterprise Edition</a></li>
42
- <li role="presentation" {% if page.permalink == '/products/ie/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/ie/" aria-controls="lswg" role="link">IoT Edition</a></li>
43
- <li role="presentation" {% if page.permalink == '/products/mezzanine/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/mezzanine/" aria-controls="lswg" role="link">Mezzanine Products</a></li>
44
- <li role="presentation" {% if page.permalink == '/products/accessories/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/accessories/" aria-controls="lswg" role="link">Accessories</a></li>
45
- {% endif %}
46
-
47
- {% if page.permalink == "/projects/" or
48
- page_base[1] == "projects" and page_base[2] or
49
- page.permalink == "/projects/contribute.md/" or
50
- page.permalink == "/projects/faq.md/" or
51
- page.permalink == "/projects/submit.md/" %}
52
- {% if page_base[2] and
53
- page_base[2] != "faq.md" and
54
- page_base[2] != "contribute.md" and
55
- page_base[2] != "submit.md" %}
56
- <li role="presentation" class="active tabbed-nav-btn"><a href="{{page.permalink}}" aria-controls="overview" role="link">{{page.title}}</a></li>
57
- {% endif %}
58
- <li role="presentation" {% if page.permalink == '/projects/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/projects/" aria-controls="overview" role="link">Projects</a></li>
59
- <li role="presentation" {% if page.permalink == '/projects/contribute.md/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/projects/contribute.md/" aria-controls="lswg" role="link">Contribute</a></li>
60
- <li role="presentation" {% if page.permalink == '/projects/faq.md/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/projects/faq.md/" aria-controls="lswg" role="link">FAQ</a></li>
61
- <li role="presentation" class="tabbed-nav-btn"><a href="https://www.96boards.org/openhours/" aria-controls="lswg" role="link">OpenHours</a></li>
62
- <li role="presentation" {% if page.permalink == '/projects/submit.md/' %}class="active tabbed-nav-btn pull-right"{% else %}class="tabbed-nav-btn pull-right"{% endif %}><a href="/projects/submit.md/" aria-controls="lswg" role="link">Submit a Project</a></li>
63
- {% endif %}
64
-
65
- {% if page.permalink == "/product/debug/" or
66
- page.permalink == "/product/power/" or
67
- page.permalink == "/product/misc/" or
68
- page.permalink == "/product/adapter/" %}
69
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/accessories/" aria-controls="overview" role="link">All Accessories</a></li>
70
- <li role="presentation" {% if page.permalink == '/product/debug/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/product/debug/" aria-controls="lswg" role="link">Debug</a></li>
71
- <li role="presentation" {% if page.permalink == '/product/power/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/product/power/" aria-controls="lswg" role="link">Power</a></li>
72
- <li role="presentation" {% if page.permalink == '/product/adapter/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/product/adapter/" aria-controls="lswg" role="link">Adapters</a></li>
73
- <li role="presentation" {% if page.permalink == '/product/misc/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/product/misc/" aria-controls="lswg" role="link">Misc</a></li>
74
- {% endif %}
75
-
76
- {% assign product = site.data.product_db.products | where: "product_permalink", page.permalink | first %}
77
- {% if product %}
78
- {% if product.product_specification == "ce"
79
- or product.product_specification == "ee"
80
- or product.product_specification == "ie"
81
- or product.product_specification == "mezzanine" %}
82
- {% assign page-url = page.url | downcase %}
83
- {% assign getting-started = product.product_getting_started %}
84
- {% assign tutorials = product.product_permalink | split: "/"%}
85
- {% assign tutorials = product.product_tutorials_link %}
86
- <li role="presentation" class="active tabbed-nav-btn"><a href="{{ page.permalink }}" aria-controls="overview" role="link">{{ product.product_title }}</a></li>
87
- {% if product.product_getting_started %}
88
- <li role="presentation" class="tabbed-nav-btn"><a href="{{getting-started}}" aria-controls="lswg" role="link">Getting Started</a></li>
89
- {% endif %}
90
- {% if product.product_documentation_link %}
91
- <li role="presentation" class="tabbed-nav-btn"><a href="{{ product.product_documentation_link }}" aria-controls="lswg" role="link">Documentation</a></li>
92
- {% endif %}
93
- {% if product.product_tutorials_link %}
94
- <li role="presentation" class="tabbed-nav-btn"><a href="{{tutorials}}" aria-controls="lswg" role="link">Tutorial</a></li>
95
- {% endif %}
96
- {% if product.product_support_link %}
97
- <li role="presentation" class="tabbed-nav-btn pull-right"><a href="{{ product.product_support_link }}" aria-controls="lswg" role="link">Support Forum</a></li>
98
- {% endif %}
99
- {% else %}
100
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/" aria-controls="overview" role="link">Latest Boards</a></li>
101
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/ce/" aria-controls="lswg" role="link">Consumer Edition</a></li>
102
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/ee/" aria-controls="lswg" role="link">Enterprise Edition</a></li>
103
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/ie/" aria-controls="lswg" role="link">IoT Edition</a></li>
104
- <li role="presentation" class="active tabbed-nav-btn"><a href="/products/mezzanine/" aria-controls="lswg" role="link">Mezzanine Products</a></li>
105
- <li role="presentation" class="tabbed-nav-btn"><a href="/products/accessories/" aria-controls="lswg" role="link">Accessories</a></li>
106
- {% endif %}
107
- {% endif %}
108
-
109
- {% if page_base[1] == "product"%}
110
- {% if page.permalink == "/product/dragonboard410c-buy.md/" %}
111
- <li role="presentation"><a href="/products/" aria-controls="overview" role="link">Latest Boards</a></li>
112
- <li role="presentation" {% if page.permalink == '/product/dragonboard410c-buy.md/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/products/ce/" aria-controls="lswg" role="link">Consumer Edition</a></li>
113
- <li role="presentation"><a href="/products/ee/" aria-controls="lswg" role="link">Enterprise Edition</a></li>
114
- <li role="presentation"><a href="/products/ie/" aria-controls="lswg" role="link">IoT Edition</a></li>
115
- <li role="presentation"><a href="/products/mezzanine/" aria-controls="lswg" role="link">Mezzanine Products</a></li>
116
- <li role="presentation"><a href="/products/accessories/" aria-controls="lswg" role="link">Accessories</a></li>
117
- {% endif %}
118
- {% endif %}
119
-
120
- {% if page_base[1] == "documentation" %}
121
- {% if page_base[3] %}
122
- {% assign product-name = page_base[3]%}
123
- {% capture documentation-link %}/{{page_base[1]}}/{{page_base[2]}}/{{page_base[3]}}/{% endcapture %}
124
- {% capture support-link %}/{{page_base[1]}}/{{page_base[2]}}/{{page_base[3]}}/{% endcapture %}
125
- {% capture documentation-link %}/{{page_base[1]}}/{{page_base[2]}}/{{page_base[3]}}/{% endcapture %}
126
- <li role="presentation" class="active tabbed-nav-btn"><a href="{{documentation-link}}" aria-controls="overview" role="link">{{ product-name | capitalize}}</a></li>
127
- <li role="presentation" {% if page.permalink == '/documentation/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/" aria-controls="overview" role="link">All Docs</a></li>
128
- <li role="presentation" {% if page.permalink == '/documentation/ConsumerEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/ConsumerEdition/" aria-controls="overview" role="link">CE</a></li>
129
- <li role="presentation" {% if page.permalink == '/documentation/EnterpriseEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/EnterpriseEdition/" aria-controls="lswg" role="link">EE</a></li>
130
- <li role="presentation" {% if page.permalink == '/documentation/IoTEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/IoTEdition/" aria-controls="lswg" role="link">IE</a></li>
131
- <li role="presentation" {% if page.permalink == '/documentation/MezzanineProducts/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/MezzanineProducts/" aria-controls="lswg" role="link">Mezzanine</a></li>
132
- <li role="presentation" {% if page.permalink == '/documentation/Specifications/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/Specifications/" aria-controls="lswg" role="link">Specifications</a></li>
133
- {% else %}
134
- <li role="presentation" {% if page.permalink == '/documentation/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/" aria-controls="overview" role="link">All Docs</a></li>
135
- <li role="presentation" {% if page.permalink == '/documentation/ConsumerEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/ConsumerEdition/" aria-controls="overview" role="link">Consumer Edition</a></li>
136
- <li role="presentation" {% if page.permalink == '/documentation/EnterpriseEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/EnterpriseEdition/" aria-controls="lswg" role="link">Enterprise Edition</a></li>
137
- <li role="presentation" {% if page.permalink == '/documentation/IoTEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/IoTEdition/" aria-controls="lswg" role="link">IoT Edition</a></li>
138
- <li role="presentation" {% if page.permalink == '/documentation/MezzanineProducts/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/MezzanineProducts/" aria-controls="lswg" role="link">Mezzanine Products</a></li>
139
- <li role="presentation" {% if page.permalink == '/documentation/Specifications/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/Specifications/" aria-controls="lswg" role="link">Specifications</a></li>
140
- {% endif %}
141
- {% endif %}
142
-
143
- {% if page_base[1] == "blog" %}
144
- <li role="presentation" class="active tabbed-nav-btn"><a href="/blog/" aria-controls="overview" role="link">Blog</a></li>
145
- {% endif %}
146
- </ul>
15
+ <li role="presentation" class="active tabbed-nav-btn"><a href="{{documentation-link}}" aria-controls="overview" role="link">{{ product-name | capitalize}}</a></li>
16
+ <li role="presentation" {% if page.permalink == '/documentation/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/" aria-controls="overview" role="link">All Docs</a></li>
17
+ <li role="presentation" {% if page.permalink == '/documentation/ConsumerEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/ConsumerEdition/" aria-controls="overview" role="link">CE</a></li>
18
+ <li role="presentation" {% if page.permalink == '/documentation/EnterpriseEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/EnterpriseEdition/" aria-controls="lswg" role="link">EE</a></li>
19
+ <li role="presentation" {% if page.permalink == '/documentation/IoTEdition/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/IoTEdition/" aria-controls="lswg" role="link">IE</a></li>
20
+ <li role="presentation" {% if page.permalink == '/documentation/MezzanineProducts/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/MezzanineProducts/" aria-controls="lswg" role="link">Mezzanine</a></li>
21
+ <li role="presentation" {% if page.permalink == '/documentation/Specifications/' %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="/documentation/Specifications/" aria-controls="lswg" role="link">Specifications</a></li>
22
+ </ul>
147
23
  </div>
148
24
  </div>
149
25
  </nav>
@@ -1 +1,4 @@
1
1
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
2
+ {% if page.specific_css %}
3
+ <link rel="stylesheet" href="{{page.specific_css}}">
4
+ {% endif %}
data/_layouts/home.html CHANGED
@@ -1,15 +1,15 @@
1
1
  {% include _theme-includes/_head/head.html %}
2
2
  <body>
3
- {% include _theme-includes/_navigation/nav.html %}
4
- {% include _theme-includes/_page-structure/breadcrumb.html %}
5
- <div class="container-fluid">
6
- <div class="row">
7
- <div class="container content-container">
8
- {{ content }}
9
- </div>
3
+ {% include _theme-includes/_navigation/nav.html %}
4
+ {% include _theme-includes/_page-structure/home-hero.html %}
5
+ <div class="container-fluid">
6
+ <div class="row">
7
+ <div class="container content-container">
8
+ {{ content }}
10
9
  </div>
11
- {% include _theme-includes/_footer/footer.html %}
12
10
  </div>
13
- {% include _theme-includes/_script-includes/javascript.html %}
11
+ {% include _theme-includes/_footer/footer.html %}
12
+ </div>
13
+ {% include _theme-includes/_script-includes/javascript.html %}
14
14
  </body>
15
15
  </html>
data/_sass/core/blog.scss CHANGED
@@ -9,7 +9,7 @@
9
9
  margin-top: 30px;
10
10
  }
11
11
  .blog-panel{
12
- margin-top:50px;
12
+ margin-top:30px;
13
13
  }
14
14
  .blog-panel .panel-primary .panel-heading{
15
15
  margin-left: 5px;
@@ -1,3 +1,6 @@
1
+ ---
2
+ ---
3
+
1
4
  @import 'bootstrap/variables';
2
5
 
3
6
  @import "core/blog";
@@ -1,3 +1,5 @@
1
+ ---
2
+ ---
1
3
  @import 'bootstrap/variables';
2
4
  @import "core/carousel";
3
5
  @import 'core/homepage';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll