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

Unified Diff: templates/article.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: Set title_suffix Created Dec. 14, 2017, 2:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « locales/en/site.json ('k') | templates/product-home.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/article.tmpl
===================================================================
--- a/templates/article.tmpl
+++ b/templates/article.tmpl
@@ -1,11 +1,12 @@
{% extends "templates/minimal" %}
{% set product = products[product_id] %}
+{% set title_suffix = product.full_name + " Help Center" %}
{% block body %}
<nav aria-label="{{ "Breadcrumb" | translate("breadcrumb-label", "Label") }}" class="breadcrumb">
<ol class="container large-desktop-width clearfix" itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a class="has-pre-icon" itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ product.slug }}">
<span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></span>
<span itemprop="name">{{ product.full_name | translate(product_id+"-name", "Product name") }}</span>
« no previous file with comments | « locales/en/site.json ('k') | templates/product-home.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld