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

Side by Side Diff: templates/blog-entry.tmpl

Issue 29536654: Issue 5102 - Replaced semantically incorrect <hr> elements with :after styles (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created Sept. 5, 2017, 2:40 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
OLDNEW
1 {# 1 {#
2 # This file is part of acceptableads.org. 2 # This file is part of acceptableads.org.
3 # Copyright (C) 2017-present eyeo GmbH 3 # Copyright (C) 2017-present eyeo GmbH
4 # 4 #
5 # acceptableads.org is free software: you can redistribute it and/or modify 5 # acceptableads.org is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by 6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or 7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version. 8 # (at your option) any later version.
9 # 9 #
10 # acceptableads.org is distributed in the hope that it will be useful, 10 # acceptableads.org is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details. 13 # GNU General Public License for more details.
14 # 14 #
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>. 16 # along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>.
17 #} 17 #}
18 18
19 {% extends "templates/default" %} 19 {% extends "templates/default" %}
20 {% if not og_image and featured_img_url %} 20 {% if not og_image and featured_img_url %}
21 {% set og_image = featured_img_url %} 21 {% set og_image = featured_img_url %}
22 {% endif %} 22 {% endif %}
23 {% block head %} 23 {% block head %}
24 <meta property="og:article:published_time" content="{{ published_date }}"> 24 <meta property="og:article:published_time" content="{{ published_date }}">
25 <meta name="author" content="{{ author }}"> 25 <meta name="author" content="{{ author }}">
26 {% endblock %} 26 {% endblock %}
27 {% block blog %} 27 {% block blog %}
28 <article role="main"> 28 <article role="main">
29 <h1>{{ title }}</h1> 29 <h1>{{ title }}</h1>
30 <hr>
31 <div class="row"> 30 <div class="row">
32 <div class="col-6 push-6"> 31 <div class="col-6 push-6">
33 <img 32 <img
34 class="block" 33 class="block"
35 src="{{ featured_img_url }}" 34 src="{{ featured_img_url }}"
36 alt="{{ featured_img_alt }}"> 35 alt="{{ featured_img_alt }}">
37 </div> 36 </div>
38 <div class="col-6 pull-6 m-b-xl"> 37 <div class="col-6 pull-6 m-b-xl">
39 <p> 38 <p>
40 <b> 39 <b>
41 POSTED 40 POSTED
42 <time datetime="{{ published_date }}"> 41 <time datetime="{{ published_date }}">
43 {{ humanize_date(published_date) }} 42 {{ humanize_date(published_date) }}
44 </time> 43 </time>
45 </b> 44 </b>
46 <span class="muted"> 45 <span class="muted">
47 by {{ author }} 46 by {{ author }}
48 </span> 47 </span>
49 </p> 48 </p>
50 {{ super() }} 49 {{ super() }}
51 </div> 50 </div>
52 </div> 51 </div>
53 </article> 52 </article>
54 {% endblock %} 53 {% endblock %}
OLDNEW
« static/scss/content/_typography.scss ('K') | « static/scss/content/_typography.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld