|
165 | 165 | </script> |
166 | 166 | <script src='{% if site.baseApi %}{{site.baseApi}}{% else %}https://www.mapbox.com{% endif %}/base.js/dist/base.js'></script> |
167 | 167 | {% if site.test %}<script src='{{site.url}}/test/tape.js'></script>{% endif %} |
168 | | - {% if page.head %}{{page.head}}{% endif %} |
| 168 | + {% if page.head %}{{page.head}}{% endif %}{% if layout.head %}{{layout.head}}{% endif %} |
169 | 169 | </head> |
170 | | -<body class='{{page.class}} {{page.options}}{% if page.blog_featured == true %} bleed{% endif %}'> |
| 170 | +<body class='{{page.class}} {{page.options}} {{layout.class}} {{layout.options}}{% if page.blog_featured == true %} bleed{% endif %}'> |
171 | 171 | <!-- Google Tag Manager --> |
172 | 172 | <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PQR37Z" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PQR37Z');</script> |
173 | 173 | <!-- End Google Tag Manager --> |
@@ -298,7 +298,7 @@ <h3>I would like to</h3> |
298 | 298 | </div> |
299 | 299 | </div> |
300 | 300 |
|
301 | | -<div class='masthead col12 clearfix {% unless page.options contains 'bleed' %}fill-blue{% endunless %} {% unless page.options contains 'light' %}dark{% endunless %} {% if page.title == 'Mapbox' %}home-nav{% endif %} {% if page.title == 'Developers' %}developers-nav{% endif %} {% if page.title == 'Education' %}education-nav{% endif %} {% if page.url contains '/gallery' %}gallery-page{% endif %}' data-swiftype-index='false'> |
| 301 | +<div class='masthead col12 clearfix {% unless page.options contains 'bleed' or layout.options contains 'bleed' %}fill-blue{% endunless %} {% unless page.options contains 'light' or layout.options contains 'light' %}dark{% endunless %} {% if page.title == 'Mapbox' %}home-nav{% endif %} {% if page.title == 'Developers' %}developers-nav{% endif %} {% if page.title == 'Education' %}education-nav{% endif %} {% if page.url contains '/gallery' %}gallery-page{% endif %}' data-swiftype-index='false'> |
302 | 302 | <div class='limiter clearfix'> |
303 | 303 | <nav class='col12 text-right navigation-padding-top contain animate clearfix noprint'> |
304 | 304 | <a class='fl mb-logo' href='/'></a> |
@@ -374,46 +374,46 @@ <h3 class='pad0y pad1x strong space-bottom1'>Products</h3> |
374 | 374 | </div> |
375 | 375 |
|
376 | 376 |
|
377 | | -<div class='{% unless page.options contains 'full' %} limiter clearfix{% endunless %}'>{{content}}</div> |
| 377 | +<div class='{% unless page.options contains 'full' or layout.options contains 'full' %} limiter clearfix{% endunless %}'>{{content}}</div> |
378 | 378 |
|
379 | 379 | {% unless page.url contains '/hello/directions' or page.url contains '/welcome' %} |
380 | 380 | <div class='footer footer-in-docs clearfix contain hide-mobile noprint fill-light' data-swiftype-index='false'> |
381 | 381 | <div class='limiter clearfix'> |
382 | 382 | <div class='footer-in-docs footer-cols-in-docs clearfix col12 pad8y small'> |
383 | 383 | <div class='hide-in-docs col2'> |
384 | 384 | <h3 class='space-bottom1'>Overview</h3> |
385 | | - {% for item in page.footer.mapbox %} |
| 385 | + {% for item in layout.footer.mapbox %} |
386 | 386 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 quiet col12 strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a> |
387 | 387 | {% endfor %} |
388 | 388 | </div> |
389 | 389 | <div class='col2 footer-col-in-docs'> |
390 | 390 | <h3 class='space-bottom1'>About us</h3> |
391 | | - {% for item in page.footer.aboutus %} |
| 391 | + {% for item in layout.footer.aboutus %} |
392 | 392 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a> |
393 | 393 | {% endfor %} |
394 | 394 | </div> |
395 | 395 | <div class='col2 footer-col-in-docs'> |
396 | 396 | <h3 class='space-bottom1'>Help</h3> |
397 | | - {% for item in page.footer.support %} |
| 397 | + {% for item in layout.footer.support %} |
398 | 398 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{{site.url}}{{item.path}}/'>{{item.title}}</a> |
399 | 399 | {% endfor %} |
400 | 400 | </div> |
401 | 401 | <div class='col2 footer-col-in-docs'> |
402 | 402 | <h3 class='space-bottom1'>Map design</h3> |
403 | | - {% for item in page.footer.mapdesign %} |
| 403 | + {% for item in layout.footer.mapdesign %} |
404 | 404 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a> |
405 | 405 | {% endfor %} |
406 | 406 | </div> |
407 | 407 | <div class='col2 footer-col-in-docs'> |
408 | 408 | <h3 class='space-bottom1'>Developers</h3> |
409 | | - {% for item in page.footer.developers %} |
| 409 | + {% for item in layout.footer.developers %} |
410 | 410 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a> |
411 | 411 | {% endfor %} |
412 | 412 | <a href='{{site.url}}/developers/' class='small rcon next quiet'>All developers</a> |
413 | 413 | </div> |
414 | 414 | <div class='hide-in-docs col2 footer-col-in-docs'> |
415 | 415 | <h3 class='space-bottom1'>Industries</h3> |
416 | | - {% for item in page.footer.industries %} |
| 416 | + {% for item in layout.footer.industries %} |
417 | 417 | <a id='footer-{{item.title | downcase | replace:' ','-'}}' class='space-bottom0 col12 quiet strong' href='{% if item.href %}{{item.href}}{% else %}{{site.url}}{{item.path}}{% endif %}/'>{{item.title}}</a> |
418 | 418 | {% endfor %} |
419 | 419 | <a href='{{site.url}}/industries/' class='small rcon next quiet'>All industries</a> |
|
0 commit comments