Permalink
Switch branches/tags
Find file Copy path
bd5569d Sep 26, 2014
1 contributor

Users who have contributed to this file

30 lines (24 sloc) 1.25 KB
{# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. -#}
{% extends "privacy/base-resp.html" %}
{% do doc.select('body > section > section > div > p')|htmlattr(role='tab') %}
{% do doc.select('body > section > section > div > ul')|htmlattr(role='tabpanel') %}
{% block page_title %}{{ doc.h1.string }}{% endblock %}
{% block body_id %}websites-notice{% endblock %}
{% block article %}
<article class="section-content" itemscope itemtype="http://schema.org/Article">
<header>
<h1 itemprop="name" class="title-shadow-box">{{ doc.h1.string }}</h1>
{% if doc.select('[datetime]') %}
<p class="meta"><time datetime="{{ doc.select('[datetime]')[0]['datetime'] }}" itemprop="dateModified">{{ doc.select('[datetime]')[0].string }}</time></p>
{{ doc.select('body > section > header > [datetime] ~ p')|join|safe }}
{% else %}
{{ doc.select('body > section > header > p')|join|safe }}
{% endif %}
</header>
<div itemprop="articleBody">
{{ doc.select('body > section > section')|htmlattr(class='highlight accordion')|join|safe }}
</div>
</article>
{% endblock %}