| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 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 | |
| 1 {% extends "templates/minimal" %} | 3 {% extends "templates/minimal" %} |
| 2 | 4 |
| 3 {% set product = products[product_id] %} | 5 {% set product = products[product_id] %} |
| 4 | 6 |
| 5 {% block body %} | 7 {% block body %} |
| 6 <main id="main" class="container"> | 8 <main id="main" class="container"> |
| 7 <header class="product-heading"> | 9 <header class="product-heading"> |
| 8 <h1 class="has-pre-icon"> | 10 <h1 class="has-pre-icon"> |
| 9 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></s pan> | 11 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></s pan> |
| 10 {{ product.full_name + " Help Center" | translate(product_id+"-help-home-t itle", "Page title") }} | 12 {{ product.full_name + " Help Center" | translate(product_id+"-help-home-t itle", "Page title") }} |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 {% endif %} | 56 {% endif %} |
| 55 {% endfor %} | 57 {% endfor %} |
| 56 </div> | 58 </div> |
| 57 | 59 |
| 58 </main> | 60 </main> |
| 59 {% endblock %} | 61 {% endblock %} |
| 60 | 62 |
| 61 {% block footer %} | 63 {% block footer %} |
| 62 <? include contact ?> | 64 <? include contact ?> |
| 63 {% endblock %} | 65 {% endblock %} |
| OLD | NEW |