]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix typography helpers
authorJeremy Thomas <bbxdesign@gmail.com>
Mon, 25 Jun 2018 08:14:11 +0000 (10:14 +0200)
committerJeremy Thomas <bbxdesign@gmail.com>
Mon, 25 Jun 2018 08:14:11 +0000 (10:14 +0200)
docs/documentation/modifiers/typography-helpers.html

index e08cf28e16067fdaec7d5fee60a4b860c61c354c..1d5d9ffb7296f03ad7ee8e5131ce6a5365c68f56 100644 (file)
@@ -1,7 +1,6 @@
 ---
 title: Typography helpers
 layout: documentation
-hide_categories: true
 doc-tab: modifiers
 doc-subtab: typography-helpers
 breadcrumb:
@@ -12,7 +11,7 @@ breadcrumb:
 ---
 
 {% assign initial_vars = site.data.variables.utilities.initial-variables.by_name %}
-{% assign sizes        = site.data.variables.utilities.derived-variables.by_name.sizes.value | split: ' ' %}
+{% assign sizes        = site.data.variables.utilities.derived-variables.by_name['$sizes'].value | split: ' ' %}
 
 {% capture thead %}
 <thead>
@@ -77,7 +76,8 @@ breadcrumb:
   <tbody>
                {% for size in sizes %}
                        <tr>
-                               {% assign key = 'size-' | append: forloop.index %}
+                               {% assign key = '$size-' | append: forloop.index %}
+
                                <td><code>is-size-{{ forloop.index }}</code></td>
                                <td><code>{{ initial_vars[key].value }}</code></td>
                        </tr>
@@ -96,9 +96,7 @@ breadcrumb:
   </p>
 </div>
 
-{% include layout/main-close.html show_categories=true %}
 
-<div class="container">
   <div class="table-container">
     <table class="table is-bordered">
       {{ thead }}
@@ -154,9 +152,7 @@ breadcrumb:
       </tbody>
     </table>
   </div>
-</div>
 
-{% include layout/main-open.html %}
 
 <div class="content">
   <p>
@@ -257,9 +253,7 @@ breadcrumb:
   </p>
 </div>
 
-{% include layout/main-close.html %}
 
-<div class="container">
   <div class="table-container">
     <table class="table is-bordered">
       {{ thead }}
@@ -339,9 +333,7 @@ breadcrumb:
       </tbody>
     </table>
   </div>
-</div>
 
-{% include layout/main-open.html %}
 
 {% include elements/anchor.html name="Text transformation" %}