| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 title_suffix={{ products[product_id].full_name }} | |
|
ire
2017/12/13 19:30:14
Variables don't work here :(
(Or is there some o
juliandoucette
2017/12/14 12:38:22
Correct, variables don't work in frontmatter.
I t
ire
2017/12/14 14:58:11
This worked! Thanks.
| |
| 2 | |
| 3 {% extends "templates/minimal" %} | 1 {% extends "templates/minimal" %} |
| 4 | 2 |
| 5 {% set product = products[product_id] %} | 3 {% set product = products[product_id] %} |
| 4 {% set title_suffix = product.full_name + " Help Center" %} | |
| 6 | 5 |
| 7 {% block body %} | 6 {% block body %} |
| 8 <main id="main" class="container"> | 7 <main id="main" class="container"> |
| 9 <header class="product-heading"> | 8 <header class="product-heading"> |
| 10 <h1 class="has-pre-icon"> | 9 <h1 class="has-pre-icon"> |
| 11 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></s pan> | 10 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></s pan> |
| 12 {{ product.full_name + " Help Center" | translate(product_id+"-help-home-t itle", "Page title") }} | 11 {{ product.full_name + " Help Center" | translate(product_id+"-help-home-t itle", "Page title") }} |
| 13 </h1> | 12 </h1> |
| 14 </header> | 13 </header> |
| 15 | 14 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 {% endif %} | 55 {% endif %} |
| 57 {% endfor %} | 56 {% endfor %} |
| 58 </div> | 57 </div> |
| 59 | 58 |
| 60 </main> | 59 </main> |
| 61 {% endblock %} | 60 {% endblock %} |
| 62 | 61 |
| 63 {% block footer %} | 62 {% block footer %} |
| 64 <? include contact ?> | 63 <? include contact ?> |
| 65 {% endblock %} | 64 {% endblock %} |
| LEFT | RIGHT |