linaro-jekyll-theme 0.2.0 → 0.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -19
  3. data/_data/authors.yml +7 -0
  4. data/_data/company.yml +29 -0
  5. data/_data/footer.yml +1 -0
  6. data/_data/members_db.yaml +115 -0
  7. data/_data/nav.yml +62 -0
  8. data/_data/news.yaml +230 -0
  9. data/_data/sub-nav-stacked.yml +67 -0
  10. data/_data/sub-nav.yml +61 -0
  11. data/_includes/_theme-includes/_blog/pagination.html +1 -1
  12. data/_includes/_theme-includes/_footer/footer.html +56 -27
  13. data/_includes/_theme-includes/_head/head.html +15 -7
  14. data/_includes/_theme-includes/_navigation/nav.html +62 -16
  15. data/_includes/_theme-includes/_navigation/stacked-nav.html +20 -0
  16. data/_includes/_theme-includes/_navigation/tabbed-nav.html +35 -0
  17. data/_includes/_theme-includes/_page-structure/breadcrumb.html +77 -27
  18. data/_includes/_theme-includes/_page-structure/home-hero-shape.html +34 -0
  19. data/_includes/_theme-includes/_page-structure/home-hero.html +23 -0
  20. data/_includes/_theme-includes/_page-structure/shape-divider.html +12 -0
  21. data/_includes/_theme-includes/_script-includes/css.html +40 -3
  22. data/_includes/_theme-includes/_script-includes/google-analytics/script.html +10 -0
  23. data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +2 -1
  24. data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +9 -7
  25. data/_includes/_theme-includes/_script-includes/javascript.html +50 -2
  26. data/_includes/_theme-includes/_third-party/disqus.html +1 -1
  27. data/_includes/_theme-includes/_third-party/mailchimp-homepage.html +1 -6
  28. data/_includes/_theme-includes/members.html +3 -3
  29. data/_includes/image.html +6 -1
  30. data/_includes/media.html +9 -1
  31. data/_includes/youtube.html +7 -0
  32. data/{assets/vendor.js → _layouts/about.html} +0 -0
  33. data/_layouts/accessory-display-page.html +88 -0
  34. data/_layouts/blog-breadcrumbless.html +49 -0
  35. data/_layouts/blog.html +56 -0
  36. data/_layouts/contact.html +10 -0
  37. data/_layouts/default-empty.html +11 -0
  38. data/_layouts/default-no-sub-nav.html +15 -0
  39. data/_layouts/default-plain.html +16 -0
  40. data/_layouts/default-stacked-breadcrumb.html +23 -0
  41. data/_layouts/default-stacked.html +22 -0
  42. data/_layouts/default.html +20 -0
  43. data/_layouts/empty.html +10 -0
  44. data/_layouts/{plain-page.html → fluid-no-sub-nav.html} +2 -2
  45. data/_layouts/fluid.html +15 -0
  46. data/_layouts/home-shape.html +18 -0
  47. data/_layouts/home.html +18 -0
  48. data/_layouts/post.html +146 -0
  49. data/_layouts/product-display-page.html +262 -0
  50. data/_layouts/project-display-page.html +28 -0
  51. data/_sass/bootstrap/_variables.scss +28 -5
  52. data/_sass/core/blog.scss +36 -25
  53. data/_sass/core/breadcrumb.scss +20 -1
  54. data/_sass/core/carousel-styles.scss +3 -0
  55. data/_sass/core/cookieconsent.scss +31 -2
  56. data/_sass/core/custom.scss +3 -0
  57. data/_sass/core/fa.scss +7 -2
  58. data/_sass/core/footer.scss +55 -13
  59. data/_sass/core/homepage.scss +25 -1
  60. data/_sass/core/nav.scss +136 -15
  61. data/_sass/core/owl.carousel.min.scss +1 -1
  62. data/_sass/core/products.scss +1 -1
  63. data/_sass/core/tables.scss +38 -0
  64. data/_sass/core/theme.scss +310 -16
  65. data/_sass/custom.scss +0 -0
  66. data/assets/css/main-blog.scss +19 -0
  67. data/assets/css/main-home.scss +16 -0
  68. data/{_sass/main.scss → assets/css/main-lightbox.scss} +5 -0
  69. data/assets/css/main-openhours.scss +19 -0
  70. data/assets/css/main-products.scss +20 -0
  71. data/assets/css/main-projects.scss +20 -0
  72. data/assets/css/main.scss +3 -0
  73. data/assets/fonts/fontawesome-webfont.eot +0 -0
  74. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  75. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  76. data/assets/fonts/fontawesome-webfont.woff +0 -0
  77. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  78. data/assets/fonts/fontello.eot +0 -0
  79. data/assets/fonts/fontello.svg +44 -0
  80. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  81. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  82. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  83. data/assets/fonts/lato-regular/LICENSE.txt +93 -0
  84. data/assets/fonts/lato-regular/Lato-regular.eot +0 -0
  85. data/assets/fonts/lato-regular/Lato-regular.svg +435 -0
  86. data/assets/fonts/lato-regular/Lato-regular.ttf +0 -0
  87. data/assets/fonts/lato-regular/Lato-regular.woff +0 -0
  88. data/assets/fonts/lato-regular/Lato-regular.woff2 +0 -0
  89. data/assets/images/avatar-placeholder.png +0 -0
  90. data/assets/images/background-image.jpg +0 -0
  91. data/assets/images/banner.jpg +0 -0
  92. data/assets/images/close.png +0 -0
  93. data/assets/images/css3.png +0 -0
  94. data/assets/images/favicon.ico +0 -0
  95. data/assets/images/favicon.png +0 -0
  96. data/assets/images/html5.png +0 -0
  97. data/assets/images/jekyll.svg +1 -0
  98. data/assets/images/js.jpeg +0 -0
  99. data/assets/images/loading.gif +0 -0
  100. data/assets/images/next.png +0 -0
  101. data/assets/images/owl.video.play.png +0 -0
  102. data/assets/images/placeholder.png +0 -0
  103. data/assets/images/prev.png +0 -0
  104. data/assets/images/social-media-image.png +0 -0
  105. data/assets/js/app/{96boards.js → main.js} +5 -29
  106. data/assets/js/app/{search-page.js → search.js} +1 -1
  107. data/assets/js/app/{sticky-navbar.js → sticky.js} +0 -0
  108. data/assets/js/app/tables.js +8 -0
  109. data/assets/js/vendor/cognito-forms.js +150 -0
  110. data/assets/js/vendor/cookieconsent.min.js +2 -9
  111. data/assets/js/vendor/flipclock.min.js +33 -0
  112. data/assets/js/vendor/lightbox.min.js +14 -0
  113. data/robots.txt +9 -0
  114. metadata +144 -171
  115. data/_includes/_theme-includes/_footer/backup.html +0 -71
  116. data/_includes/_theme-includes/_head/ascii-art.html +0 -11
  117. data/_includes/_theme-includes/_navigation/_sub-navigation/tabbed-nav.html +0 -150
  118. data/_includes/_theme-includes/_page-structure/old-breadcrumb.html +0 -139
  119. data/_includes/_theme-includes/_third-party/mailchimp-sub-footer.html +0 -40
  120. data/_layouts/empty-container-page.html +0 -10
  121. data/_sass/blog-pages.scss +0 -5
  122. data/_sass/core/critical.scss +0 -991
  123. data/_sass/core/members-sprite.scss +0 -425
  124. data/_sass/documentation-pages.scss +0 -3
  125. data/_sass/home-page.scss +0 -3
  126. data/_sass/openhours-page.scss +0 -4
  127. data/_sass/products-pages.scss +0 -5
  128. data/_sass/projects-pages.scss +0 -5
  129. data/assets/css/_bootstrap-compass.scss +0 -9
  130. data/assets/css/_bootstrap-mincer.scss +0 -19
  131. data/assets/css/_bootstrap-sprockets.scss +0 -9
  132. data/assets/css/_bootstrap.scss +0 -56
  133. data/assets/css/blog-pages.scss +0 -5
  134. data/assets/css/bootstrap/_alerts.scss +0 -73
  135. data/assets/css/bootstrap/_badges.scss +0 -68
  136. data/assets/css/bootstrap/_breadcrumbs.scss +0 -28
  137. data/assets/css/bootstrap/_button-groups.scss +0 -244
  138. data/assets/css/bootstrap/_buttons.scss +0 -168
  139. data/assets/css/bootstrap/_carousel.scss +0 -270
  140. data/assets/css/bootstrap/_close.scss +0 -36
  141. data/assets/css/bootstrap/_code.scss +0 -69
  142. data/assets/css/bootstrap/_component-animations.scss +0 -37
  143. data/assets/css/bootstrap/_dropdowns.scss +0 -216
  144. data/assets/css/bootstrap/_forms.scss +0 -617
  145. data/assets/css/bootstrap/_glyphicons.scss +0 -307
  146. data/assets/css/bootstrap/_grid.scss +0 -84
  147. data/assets/css/bootstrap/_input-groups.scss +0 -171
  148. data/assets/css/bootstrap/_jumbotron.scss +0 -54
  149. data/assets/css/bootstrap/_labels.scss +0 -66
  150. data/assets/css/bootstrap/_list-group.scss +0 -130
  151. data/assets/css/bootstrap/_media.scss +0 -66
  152. data/assets/css/bootstrap/_mixins.scss +0 -40
  153. data/assets/css/bootstrap/_modals.scss +0 -150
  154. data/assets/css/bootstrap/_navbar.scss +0 -662
  155. data/assets/css/bootstrap/_navs.scss +0 -242
  156. data/assets/css/bootstrap/_normalize.scss +0 -424
  157. data/assets/css/bootstrap/_pager.scss +0 -54
  158. data/assets/css/bootstrap/_pagination.scss +0 -89
  159. data/assets/css/bootstrap/_panels.scss +0 -271
  160. data/assets/css/bootstrap/_popovers.scss +0 -131
  161. data/assets/css/bootstrap/_print.scss +0 -101
  162. data/assets/css/bootstrap/_progress-bars.scss +0 -87
  163. data/assets/css/bootstrap/_responsive-embed.scss +0 -35
  164. data/assets/css/bootstrap/_responsive-utilities.scss +0 -179
  165. data/assets/css/bootstrap/_scaffolding.scss +0 -161
  166. data/assets/css/bootstrap/_tables.scss +0 -234
  167. data/assets/css/bootstrap/_theme.scss +0 -291
  168. data/assets/css/bootstrap/_thumbnails.scss +0 -38
  169. data/assets/css/bootstrap/_tooltip.scss +0 -101
  170. data/assets/css/bootstrap/_type.scss +0 -298
  171. data/assets/css/bootstrap/_utilities.scss +0 -55
  172. data/assets/css/bootstrap/_variables.scss +0 -874
  173. data/assets/css/bootstrap/_wells.scss +0 -29
  174. data/assets/css/bootstrap/mixins/_alerts.scss +0 -14
  175. data/assets/css/bootstrap/mixins/_background-variant.scss +0 -12
  176. data/assets/css/bootstrap/mixins/_border-radius.scss +0 -18
  177. data/assets/css/bootstrap/mixins/_buttons.scss +0 -65
  178. data/assets/css/bootstrap/mixins/_center-block.scss +0 -7
  179. data/assets/css/bootstrap/mixins/_clearfix.scss +0 -22
  180. data/assets/css/bootstrap/mixins/_forms.scss +0 -88
  181. data/assets/css/bootstrap/mixins/_gradients.scss +0 -58
  182. data/assets/css/bootstrap/mixins/_grid-framework.scss +0 -81
  183. data/assets/css/bootstrap/mixins/_grid.scss +0 -122
  184. data/assets/css/bootstrap/mixins/_hide-text.scss +0 -21
  185. data/assets/css/bootstrap/mixins/_image.scss +0 -33
  186. data/assets/css/bootstrap/mixins/_labels.scss +0 -12
  187. data/assets/css/bootstrap/mixins/_list-group.scss +0 -32
  188. data/assets/css/bootstrap/mixins/_nav-divider.scss +0 -10
  189. data/assets/css/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  190. data/assets/css/bootstrap/mixins/_opacity.scss +0 -8
  191. data/assets/css/bootstrap/mixins/_pagination.scss +0 -24
  192. data/assets/css/bootstrap/mixins/_panels.scss +0 -24
  193. data/assets/css/bootstrap/mixins/_progress-bar.scss +0 -10
  194. data/assets/css/bootstrap/mixins/_reset-filter.scss +0 -8
  195. data/assets/css/bootstrap/mixins/_reset-text.scss +0 -18
  196. data/assets/css/bootstrap/mixins/_resize.scss +0 -6
  197. data/assets/css/bootstrap/mixins/_responsive-visibility.scss +0 -21
  198. data/assets/css/bootstrap/mixins/_size.scss +0 -10
  199. data/assets/css/bootstrap/mixins/_tab-focus.scss +0 -9
  200. data/assets/css/bootstrap/mixins/_table-row.scss +0 -28
  201. data/assets/css/bootstrap/mixins/_text-emphasis.scss +0 -12
  202. data/assets/css/bootstrap/mixins/_text-overflow.scss +0 -8
  203. data/assets/css/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  204. data/assets/css/core/animations.scss +0 -125
  205. data/assets/css/core/blog.scss +0 -206
  206. data/assets/css/core/breadcrumb.scss +0 -48
  207. data/assets/css/core/carousel.scss +0 -136
  208. data/assets/css/core/cookieconsent.scss +0 -13
  209. data/assets/css/core/critical.scss +0 -991
  210. data/assets/css/core/fa.scss +0 -2331
  211. data/assets/css/core/flipclock.scss +0 -435
  212. data/assets/css/core/font-awesome.min.scss +0 -4
  213. data/assets/css/core/fonts.scss +0 -7
  214. data/assets/css/core/footer.scss +0 -79
  215. data/assets/css/core/homepage.scss +0 -16
  216. data/assets/css/core/lightbox.scss +0 -213
  217. data/assets/css/core/members-sprite.scss +0 -425
  218. data/assets/css/core/nav.scss +0 -536
  219. data/assets/css/core/openhours.scss +0 -51
  220. data/assets/css/core/owl.carousel.min.scss +0 -6
  221. data/assets/css/core/owl.theme.default.min.scss +0 -6
  222. data/assets/css/core/products.scss +0 -221
  223. data/assets/css/core/projects.scss +0 -32
  224. data/assets/css/core/social-media-icons.scss +0 -71
  225. data/assets/css/core/syntax.scss +0 -65
  226. data/assets/css/core/tables.scss +0 -87
  227. data/assets/css/core/theme.scss +0 -244
  228. data/assets/css/documentation-pages.scss +0 -3
  229. data/assets/css/home-page.scss +0 -3
  230. data/assets/css/openhours-page.scss +0 -4
  231. data/assets/css/products-pages.scss +0 -5
  232. data/assets/css/projects-pages.scss +0 -5
  233. data/assets/js/app.js +0 -2
  234. data/assets/js/app/app.js +0 -5
  235. data/assets/js/app/mixitup.js +0 -23
  236. data/assets/js/sticky-navbar.js +0 -65
  237. data/assets/js/vendor.js +0 -7
  238. data/assets/js/vendor/filtrify.js +0 -11
  239. data/assets/js/vendor/lightbox.js +0 -519
  240. data/assets/js/vendor/loadCSS.js +0 -35
  241. data/assets/js/vendor/loadCSS.min.js +0 -2
  242. data/assets/js/vendor/picturefill.min.js +0 -5
  243. data/assets/js/vendor/shuffle.js +0 -2004
  244. data/assets/js/vendor/vendor.js +0 -6
@@ -0,0 +1,67 @@
1
+ pages:
2
+ -
3
+ list:
4
+ -
5
+ title: FAQ
6
+ url: /faq/
7
+ -
8
+ title: Git
9
+ url: https://git.linaro.org/lng/odp.git
10
+ external: true
11
+ -
12
+ title: API
13
+ url: http://docs.opendataplane.org/snapshots/odp-publish/generic/dox_html/master/latest/linux-generic-doxygen-html/index.html
14
+ external: true
15
+ -
16
+ title: User Guide
17
+ url: http://docs.opendataplane.org/snapshots/odp-publish/generic/usr_html/master/latest/linux-generic/output/users-guide.html
18
+ external: true
19
+ -
20
+ title: Support
21
+ url: /comercial-support/
22
+ -
23
+ title: Meeting
24
+ url: https://collaborate.linaro.org/display/ODP/OpenDataPlane
25
+ external: true
26
+ -
27
+ title: Mailing List
28
+ url: https://lists.linaro.org/mailman/listinfo/lng-odp
29
+ external: true
30
+ -
31
+ title: Existing Applications
32
+ url: /applications/
33
+ urls: [/application-writers/]
34
+ -
35
+ list:
36
+ -
37
+ title: Git
38
+ url: https://git.linaro.org/lng/odp.git
39
+ external: true
40
+ -
41
+ title: Testing
42
+ url: /testing/
43
+ -
44
+ title: Bugs
45
+ url: https://bugs.linaro.org/describecomponents.cgi?product=OpenDataPlane%20-%20linux-%20generic%20reference
46
+ external: true
47
+ -
48
+ title: APIs
49
+ url: https://docs.opendataplane.org/snapshots/odp-publish/generic/dox_html/master/latest/linux-generic-doxygen-html/index.html
50
+ external: true
51
+ -
52
+ title: Implementers Guide
53
+ url: https://docs.opendataplane.org/snapshots/odp-publish/generic/usr_html/master/latest/linux-generic/output/implementers-guide.html
54
+ external: true
55
+ -
56
+ title: Release Guide
57
+ url: https://docs.opendataplane.org/snapshots/odp-publish/generic/usr_html/master/latest/linux-generic/output/release-guide.html
58
+ external: true
59
+ -
60
+ title: Contributing
61
+ url: https://docs.opendataplane.org/snapshots/odp-publish/generic/usr_html/master/latest/linux-generic/output/CONTRIBUTING.html
62
+ external: true
63
+ -
64
+ title: Bylaws
65
+ url: https://docs.opendataplane.org/snapshots/odp-publish/generic/usr_html/master/latest/linux-generic/output/bylaws-guide.html
66
+ external: true
67
+ urls: [/developers/]
data/_data/sub-nav.yml ADDED
@@ -0,0 +1,61 @@
1
+ pages:
2
+ -
3
+ list:
4
+ -
5
+ title: "96Boards Overview"
6
+ url: /about/
7
+ -
8
+ title: "Specifications"
9
+ url: "/specifications/"
10
+ -
11
+ title: "Compliance"
12
+ url: "/compliance/"
13
+ -
14
+ title: "Membership"
15
+ url: "/membership/"
16
+ -
17
+ title: "News"
18
+ url: "/news/"
19
+ urls: [/about/,/specifications/,/compliance/,/membership/,/news/]
20
+ -
21
+ list:
22
+ -
23
+ title: Latest Boards
24
+ url: /products/
25
+ -
26
+ title: Consumer Edition
27
+ url: /products/ce/
28
+ -
29
+ title: Enterprise Edition
30
+ url: /products/ee/
31
+ -
32
+ title: IoT Edition
33
+ url: /products/ie/
34
+ -
35
+ title: Mezzanine Products
36
+ url: /products/mezzanine/
37
+ -
38
+ title: Accessories
39
+ url: /products/accessories/
40
+ urls: [/products/, /products/ce/, /products/ee/, /products/ie/, /products/mezzanine/, /products/accessories/]
41
+ -
42
+ list:
43
+ -
44
+ title: All Docs
45
+ url: /products/
46
+ -
47
+ title: Consumer Edition
48
+ url: /products/ce/
49
+ -
50
+ title: Enterprise Edition
51
+ url: /products/ee/
52
+ -
53
+ title: IoT Edition
54
+ url: /products/ie/
55
+ -
56
+ title: Mezzanine Products
57
+ url: /products/mezzanine/
58
+ -
59
+ title: Specifications
60
+ url: /documentation/specifications/
61
+ urls: [/documentation/, //, /products/ee/, /products/ie/, /products/mezzanine/, /products/accessories/]
@@ -1,5 +1,5 @@
1
1
  {% if paginator.total_pages > 1 %}
2
- <div class="text-center">
2
+ <div class="text-center" id="pagination_panel">
3
3
  <ul class="pagination pagination-sm">
4
4
  {% if paginator.previous_page %}
5
5
  <li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
@@ -1,10 +1,25 @@
1
- ---
2
- ---
3
- {% if page.url == "/about/" or page.url == "/compliance/" or page.url == "/specifications/" or page.url == "/membership/" or page.url == "/news/" %}
4
- {% include _theme-includes/members.html %}
1
+ {% if site.data.company.members %}
2
+ {% assign included = true %}
3
+
4
+ {% if site.data.company.members.excludes %}
5
+ {% for excluded_page in site.data.company.members.excludes %}
6
+ {% if page.url == excluded_page %}
7
+ {% assign included = false %}
8
+ {% endif %}
9
+ {% endfor %}
10
+ {% endif %}
11
+
12
+ {% if included %}
13
+ {% include _theme-includes/members.html %}
14
+ {% endif %}
15
+
5
16
  {% endif %}
6
- {% if page.url != "/search/" %}
7
- {% include _theme-includes/_third-party/mailchimp-homepage.html %}
17
+
18
+
19
+ {% if site.data.company.newsletter.enabled == true %}
20
+ {% if page.url != "/search/" %}
21
+ {% include _theme-includes/_third-party/mailchimp-homepage.html %}
22
+ {% endif %}
8
23
  {% endif %}
9
24
  </div>
10
25
  <div class="row">
@@ -12,45 +27,59 @@
12
27
  <div class="footer" id="footer">
13
28
  <div class="container">
14
29
  <div class="row main-footer-content">
15
- {% for column in site.footer.columns %}
30
+ {% for column in site.data.footer.columns %}
16
31
  <div class="col-xs-6 col-md-2">
17
32
  <ul class="list-unstyled ">
18
- <li><b><a href="{{column.url}}">{{column.title}}</a></b></li>
19
- {% for item in column.items %}
20
- <li><a href="{{item.url}}">{{item.text}}</a></li>
21
- {% endfor %}
33
+ <li><b><a class="footer-heading" href="{% if column.url %}{{column.url}}{% else %}#{% endif %}">{{column.title}}</a></b></li>
34
+ {% if column.items %}
35
+ {% for item in column.items %}
36
+ <li><a class="footer-element" href="{{item.url}}">{{item.text}}</a></li>
37
+ {% endfor %}
38
+ {% endif %}
22
39
  </ul>
23
40
  </div>
24
41
  {% endfor %}
42
+
43
+ {% if site.data.footer.image %}
44
+ <div class="col-xs-6 col-md-2">
45
+ <a href="/"><img src="{% if site.using_assets == true %}{% asset_path '{{site.data.footer.image}}' %}{% else %}{{site.data.footer.image}}{% endif %}" class="footer-logo pull-right" alt="{{site.data.company.name}}"/></a>
46
+ </div>
47
+ {% endif %}
25
48
  </div>
26
49
 
27
50
  <div class="row footer-strip">
28
51
  <div class="container">
29
52
  <div class="col-md-6 company-footer-bottom">
30
- <a href="{{site.linaro.url}}"><img src="{{site.linaro.footer-logo}}" width="40px" height="100%" alt="Linaro Icon"/></a>
31
- <a style="color:white;">Portions of this content &copy; 2017 <a href="{{site.linaro.url}}">{{site.linaro.name}}</a>
32
- {% for companypage in site.footer.companylinks %}
53
+ <a href="{{site.data.linaro.url}}"><img src="{{site.data.linaro.footer-logo}}" class="linaro-logo" alt="Linaro Icon"/></a>
54
+ Portions of this content &copy; 2017 <a href="{{site.data.linaro.url}}">{{site.data.linaro.name}}</a>
55
+ {% for companypage in site.data.footer.companylinks %}
33
56
  <span class="coloured-bp">&bull;</span> <a href="{{companypage.url}}">{{companypage.name}}</a>
34
57
  {% endfor %}
35
58
  </div>
36
- <div class="col-md-6 social-footer-bottom">
37
- <a href="http://facebook.com/{{site.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
38
- <a href="https://github.com/{{site.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
39
- <a href="https://plus.google.com/{{site.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
40
- <a href="https://www.linkedin.com/company/{{site.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
41
- <a href="https://twitter.com/{{site.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
42
- <a href="https://www.youtube.com/{{site.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
59
+ <div class="col-md-6 social-footer-bottom text-right">
60
+ {% if site.data.company.facebook_username %}
61
+ <a href="http://facebook.com/{{site.data.company.facebook_username}}" class="btn btn-social-icon"><i class="icon-facebook"></i></a>
62
+ {% endif %}
63
+ {% if site.data.company.github_username %}
64
+ <a href="https://github.com/{{site.data.company.github_username}}" class="btn btn-social-icon"><i class="icon-github-circled"></i></a>
65
+ {% endif %}
66
+ {% if site.data.company.google_plus_username %}
67
+ <a href="https://plus.google.com/{{site.data.company.google_plus_username}}/posts" class="btn btn-social-icon"><i class="icon-gplus"></i></a>
68
+ {% endif %}
69
+ {% if site.data.company.linkedin_username %}
70
+ <a href="https://www.linkedin.com/company/{{site.data.company.linkedin_username}}" class="btn btn-social-icon"><i class="icon-linkedin"></i></a>
71
+ {% endif %}
72
+ {% if site.data.company.twitter_username %}
73
+ <a href="https://twitter.com/{{site.data.company.twitter_username}}" class="btn btn-social-icon"><i class="icon-twitter"></i></a>
74
+ {% endif %}
75
+ {% if site.data.company.youtube_username %}
76
+ <a href="https://www.youtube.com/{{site.data.company.youtube_username}}" class="btn btn-social-icon"><i class="icon-youtube"></i></a>
77
+ {% endif %}
43
78
  </div>
44
79
  <div style="clear:both;"></div>
45
80
  </div>
46
81
  </div>
47
82
  <!--/.container-->
48
-
49
-
50
-
51
83
  </div>
52
-
53
84
  </footer>
54
-
55
-
56
85
  </div>
@@ -1,17 +1,25 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="en">
3
3
  <head>
4
- <title>{% if page.title %}{{site.title}} - {{page.title}}
5
- {% elsif page.page_title %}{{site.title}} - {{page.page_title}}
6
- {% else %}{{site.title}}- 32- and 64-bit ARM Boards - Develop & Prototype ARM{% endif %}</title>
7
- {% include _theme-includes/_head/ascii-art.html %}
4
+ <title>
5
+ {% if page.title %}
6
+ {{page.title}} - {{site.title}}
7
+ {% elsif site.data.company.slogan %}
8
+ {{site.title}} - {{site.data.company.slogan}}
9
+ {% else %}
10
+ {{site.title}}
11
+ {% endif %}
12
+ </title>
8
13
  {% include _theme-includes/_script-includes/css.html %}
9
- <link rel="icon" href="/images/favicon.png" type="image/png" />
14
+ <link rel="icon" href="{% if site.data.company.favicon %}{% if site.using_assets %}{% asset_path '{{site.data.company.favicon}}' %}{% else %}{{site.data.company.favicon}}{% endif %}{% else %}/assets/images/favicon.png?v=2{% endif %}" type="image/png" />
10
15
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
16
  <meta charset="UTF-8">
12
- {% if site.google-tag-manager %}
17
+ {% if site.data.company.google.tag_manager %}
13
18
  {% include _theme-includes/_script-includes/gtm/gtm-script.html %}
14
19
  {% endif %}
20
+ {% if site.data.company.google.analytics %}
21
+ {% include _theme-includes/_script-includes/google-analytics/script.html %}
22
+ {% endif %}
15
23
  {% if page.keywords %}
16
24
  <meta name="keywords" content="{{page.keywords}}">
17
25
  {% endif %}
@@ -1,26 +1,23 @@
1
- ---
2
- ---
3
- {% if site.google-tag-manager %}
1
+ {% if site.data.company.google.tag_manager %}
4
2
  {% include _theme-includes/_script-includes/gtm/gtm-noscript.html %}
5
3
  {% endif %}
6
4
  <div class="main-navbar">
7
- <nav class="{% if site.navigation.style %}{{ site.navigation.style }}{% else %}navbar-inverse navbar-fixed-top{% endif %}" role="navigation" id="main-navigation">
5
+ <nav class="{% if site.data.nav.style %}{{ site.data.nav.style }}{% else %}navbar-inverse navbar-fixed-top{% endif %}" id="main-navigation">
8
6
  <div class="container">
9
7
 
10
8
  <input type="checkbox" id="navbar-toggle-cbox">
11
9
 
12
10
  <!-- NAVBAR HEADER-->
13
11
  <div class="navbar-header">
14
- <label for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" aria-controls="navbar">
15
- <span class="sr-only">Toggle navigation</span>
12
+ <label for="navbar-toggle-cbox" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
16
13
  <span class="icon-bar"></span>
17
14
  <span class="icon-bar"></span>
18
15
  <span class="icon-bar"></span>
19
16
  </label>
20
- {% if site.navigation.brand %}
21
- <a class="navbar-brand " href="{{site.navigation.brand.url}}">
22
- {% if site.navigation.brand.image %}
23
- <img src="{{site.navigation.brand.image}}" alt="{{site.title}} Logo." id="brand-image">
17
+ {% if site.data.nav.brand %}
18
+ <a class="navbar-brand " href="{{site.data.nav.brand.url}}">
19
+ {% if site.data.nav.brand.image %}
20
+ <img src="{% if site.using_assets %}{% asset_path '{{site.data.nav.brand.image}}' %}{% else %}{{site.data.nav.brand.image}}{% endif %}" alt="{{site.title}} Logo." id="brand-image">
24
21
  {% else %}
25
22
  {{site.title}}
26
23
  {% endif %}
@@ -31,22 +28,71 @@
31
28
  <!-- NAVBAR COLLAPSE-->
32
29
  <div class="collapse navbar-collapse" id="navbar-collapse">
33
30
  <ul class="nav navbar-nav navbar-right" id="navbar-buttons">
34
- {% for section in site.navigation.pages %}
31
+ {% for section in site.data.nav.pages %}
35
32
  {% if section.options %}
36
- <li class="dropdown">
33
+ <li class="dropdown
34
+ {% for menu-item in section.options %}
35
+ {% if page.url == menu-item.url %}
36
+ active
37
+ {% endif %}
38
+ {% endfor %}">
37
39
  <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{section.title}} <span class="caret"></span></a>
38
40
  <ul class="dropdown-menu">
39
41
  {% for menu_option in section.options %}
40
- <li>
41
- <a target="_self" href="{{menu_option.url}}" title="{{menu_option.txt}}">{{menu_option.text}}</a>
42
- </li>
42
+ {% if menu_option.options %}
43
+ <li class="dropdown-submenu">
44
+ <a tabindex="-1" href="{% if menu-option.url %}{{menu-option.url}}{% endif %}">{{menu_option.text}}</a>
45
+ <ul class="dropdown-menu">
46
+ {% for sub-option in menu_option.options %}
47
+ {% if sub-option.options %}
48
+ <li class="dropdown-submenu">
49
+ <a href="{% if sub-option.url %}{{sub-option.url}}{% endif %}">{{sub-option.text}}</a>
50
+ <ul class="dropdown-menu">
51
+ {% for sub-sub-option in sub-option.options %}
52
+ <li><a href="{{sub-sub-option.url}}">{{sub-sub-option.text}}</a></li>
53
+ {% endfor %}
54
+ </ul>
55
+ </li>
56
+ {% else %}
57
+ <li><a href="{{sub-option.url}}">{{sub-option.text}}</a></li>
58
+ {% endif %}
59
+ {% endfor %}
60
+ </ul>
61
+ </li>
62
+ {% else %}
63
+ <li>
64
+ <a target="_self" href="{{menu_option.url}}" class="dropdown-item " title="{{menu_option.txt}}">{{menu_option.text}} {% if menu_option.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}</a>
65
+ </li>
66
+ {% endif %}
43
67
  {% endfor %}
44
68
  </ul>
45
69
  </li>
46
70
  {% else %}
47
- <li><a href="{{section.url}}" title="{{section.title}}">{{section.title}}</a></li>
71
+ <li {% if section.url == page.permalink %}
72
+ class="active"
73
+ {% endif %}
74
+ ><a href="{{section.url}}" title="{{section.title}}">{{section.title}}</a></li>
48
75
  {% endif %}
49
76
  {% endfor %}
77
+
78
+
79
+ <li class="dropdown" id="search-form">
80
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-search"></i></a>
81
+ <ul class="dropdown-menu" id="searchDropdown">
82
+ <form class="form-inline" action="/search/" method="GET" target="_self">
83
+ <input type="text" name="q" class="form-control" placeholder="Search...">
84
+ <button type="reset" class="btn btn-default dropdown-toggle" data-target="#searchDropdown" data-toggle="search-dropdown">
85
+ <span class="glyphicon glyphicon-remove">
86
+ <span class="sr-only">Close</span>
87
+ </span>
88
+ </button>
89
+ <button type="submit" class="btn btn-default" id="searchButton"><i class="glyphicon glyphicon-search"></i></button>
90
+ <input type="hidden" name="fields.label" value="{{ site.data.company.search-label }}">
91
+ </form>
92
+ </ul>
93
+ </li>
94
+
95
+
50
96
  </ul>
51
97
  </div>
52
98
 
@@ -0,0 +1,20 @@
1
+ {% assign sub-nav-tabs = site.data.sub-nav-stacked.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 or each.url == page-base[1] %}
7
+ {% assign tab-list = each.list %}
8
+ {% endif %}
9
+ {% endfor %}
10
+ {% endfor %}
11
+ {% if tab-list %}
12
+ <ul class="nav nav-pills nav-stacked">
13
+ {% for tab in tab-list %}
14
+ <li class="{% if page-base[1] == tab.base %}active {% elsif page.url == tab.url or tab.active %}active {% elsif page.url contains tab.url %}active {% endif %}side-nav-button">
15
+ <a href="{{tab.url}}" role="link">{{ tab.title}} {% if tab.external %}<i class="glyphicon glyphicon-new-window pull-right"></i>{% endif %}</a>
16
+ </li>
17
+ {% endfor %}
18
+ </ul>
19
+ {% endif %}
20
+ {% endif %}
@@ -0,0 +1,35 @@
1
+ {% assign sub-nav-tabs = site.data.sub-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 or each.url == page-base[1] %}
7
+ {% assign tab-list = each.list %}
8
+ {% endif %}
9
+ {% endfor %}
10
+ {% endfor %}
11
+ {% if tab-list %}
12
+ <div class="tabbed-area" id="tabbed-nav-bar"><!-- Nav tabs -->
13
+ <nav class="navbar-default" role="navigation">
14
+ <div class="container">
15
+ <div class="navbar-header">
16
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
17
+ <span class="sr-only">Toggle navigation</span>
18
+ <span class="icon-bar"></span>
19
+ <span class="icon-bar"></span>
20
+ <span class="icon-bar"></span>
21
+ </button>
22
+ <a class="navbar-brand" id="sub-navigation-header" href=""></a>
23
+ </div>
24
+ <div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse">
25
+ <ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
26
+ {% for tab in tab-list %}
27
+ <li role="presentation" class="{% if page-base[1] == tab.base %}active {% elsif page.url == tab.url or tab.active %}active {% endif %}tabbed-nav-btn {% if tab.right %}pull-right{% endif %}"><a href="{{tab.url}}" role="link">{{ tab.title}}</a></li>
28
+ {% endfor %}
29
+ </ul>
30
+ </div>
31
+ </div>
32
+ </nav>
33
+ </div>
34
+ {% endif %}
35
+ {% endif %}