Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: templates/product-home.tmpl

Issue 29629558: Noissue - Add site name suffix to document title on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Left Patch Set: Rebased Created Dec. 13, 2017, 7:23 p.m.
Right Patch Set: Set title_suffix Created Dec. 14, 2017, 2:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « templates/article.tmpl ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
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 %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld