diff --git a/doc-src/content/reference/blueprint.haml b/doc-src/content/reference/blueprint.haml index c8e7815e..72a89c10 100644 --- a/doc-src/content/reference/blueprint.haml +++ b/doc-src/content/reference/blueprint.haml @@ -6,11 +6,7 @@ a single mixin, +blueprint, that can be used to generate the blueprint css styles. -%h2 Imports - -%ol - - imports(@item).each do |import| - %li= import += render "partials/reference/imports" %h2 Mixins diff --git a/doc-src/layouts/partials/reference/imports.haml b/doc-src/layouts/partials/reference/imports.haml new file mode 100644 index 00000000..ee2d9948 --- /dev/null +++ b/doc-src/layouts/partials/reference/imports.haml @@ -0,0 +1,6 @@ +- if (imported_libs = imports(@item)).any? + %h2 Imports + + %ol + - imported_libs.each do |import| + %li= import diff --git a/doc-src/layouts/partials/reference/imports.yaml b/doc-src/layouts/partials/reference/imports.yaml new file mode 100644 index 00000000..2fbf0ffd --- /dev/null +++ b/doc-src/layouts/partials/reference/imports.yaml @@ -0,0 +1 @@ +--- {}