Organize partials

This commit is contained in:
Jeremy Thomas
2018-04-09 22:25:26 +01:00
parent a1c1909001
commit e8d4efb274
97 changed files with 691 additions and 835 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en" class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
{% include head.html %}
{% include global/head.html %}
<body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
{% include deprecated.html %}
{% include global/deprecated.html %}
{{ content }}
{% include footer.html %}
{% include global/footer.html %}
</body>
</html>

View File

@@ -3,7 +3,7 @@ layout: default
route: documentation
---
{% include navbar.html id="Documentation" %}
{% include global/navbar.html id="Documentation" %}
{% assign current_category = page.doc-tab %}
{% assign current_link_id = page.breadcrumb | last %}
@@ -47,7 +47,7 @@ route: documentation
</p>
{% if page.meta %}
{%
include meta.html
include elements/meta.html
colors=page.meta.colors
sizes=page.meta.sizes
variables=page.meta.variables
@@ -57,7 +57,7 @@ route: documentation
</div>
<div class="bd-header-carbon">
{% include carbon.html %}
{% include elements/carbon.html %}
</div>
</header>

View File

@@ -6,7 +6,7 @@ breadcrumb:
- blog
---
{% include navbar.html id="Blog" %}
{% include global/navbar.html id="Blog" %}
<main class="bd-main">
<div class="bd-side-background"></div>
@@ -67,7 +67,7 @@ breadcrumb:
</div>
<div class="bd-header-carbon">
{% include carbon.html %}
{% include elements/carbon.html %}
</div>
</header>