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

Unified Diff: templates/default.tmpl

Issue 29741555: Fixes #2 - Update text on adblockplus.org/acceptable-ads (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created April 3, 2018, 9:58 a.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 | « pages/acceptable-ads.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -32,17 +32,18 @@
<body>
<? include navbar ?>
<div id="content" class="container content {{ localefile == "index" and page }}">
{% if abbnotification %}
<? include abb-notification ?>
{% endif %}
{% if not noheading %}
- <h1>{{title|translate("title")}}</h1>
+ {% set page_title = page_title or title %}
ire 2018/04/03 10:00:32 I added a new field so that the page title being d
juliandoucette 2018/04/03 13:07:51 Acknowledged. Detail: I'm not a fan of this title
+ <h1>{{page_title|translate("title")}}</h1>
{% endif %}
{% if not notoc %}
{% macro toc(toclist) %}
<ul>
{% for item in toclist %}
<li>
<a href="#{{item.anchor}}">{{item.title}}</a>
« no previous file with comments | « pages/acceptable-ads.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld