mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 11:24:29 -07:00
Organize partials
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user