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

Side by Side Diff: 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
Patch Set: Rebased Created Dec. 13, 2017, 7:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « locales/en/site.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 %}
OLDNEW
« no previous file with comments | « locales/en/site.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld