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

Unified Diff: templates/minimal.tmpl

Issue 29611624: Issue 6047 - Updated templates and uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Nov. 17, 2017, 6:53 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 | « templates/default.tmpl ('k') | templates/raw.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/minimal.tmpl
===================================================================
--- a/templates/minimal.tmpl
+++ b/templates/minimal.tmpl
@@ -10,18 +10,37 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
#}
+{% import "macros/document" as document %}
+
<!DOCTYPE html>
-<html>
+<html {{ document.attributes(locale, config.has_option("rtl", locale)) }}>
+
<head>
- {{head|safe}}
+ <? include meta/standard ?>
+ <? include meta/social ?>
+ <? include styles ?>
+ <? include polyfills ?>
+
+ {% block head %}
+ {{ head | safe }}
+ {% endblock %}
</head>
<body>
- {{body|safe}}
+ <? include navbar ?>
+
+ <main>
+ {% block body %}
+ {{ body | safe }}
+ {% endblock %}
+ </main>
+
+ <? include footer ?>
+ <? include scripts ?>
</body>
</html>
« no previous file with comments | « templates/default.tmpl ('k') | templates/raw.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld