| OLD | NEW |
| (Empty) |
| 1 {# | |
| 2 # This file is part of acceptableads.org. | |
| 3 # Copyright (C) 2017 Eyeo GmbH | |
| 4 # | |
| 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 | |
| 7 # the Free Software Foundation, either version 3 of the License, or | |
| 8 # (at your option) any later version. | |
| 9 # | |
| 10 # acceptableads.org is distributed in the hope that it will be useful, | |
| 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 # GNU General Public License for more details. | |
| 14 # | |
| 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/>. | |
| 17 #} | |
| 18 | |
| 19 {% extends "templates/default" %} | |
| 20 {% if not og_image and featured_img_url %} | |
| 21 {% set og_image = featured_img_url %} | |
| 22 {% endif %} | |
| 23 {% block head %} | |
| 24 <meta property="og:article:published_time" content="{{ published_date }}"> | |
| 25 <meta name="author" content="{{ author }}"> | |
| 26 {% endblock %} | |
| 27 {% block blog %} | |
| 28 <article role="main"> | |
| 29 <h1>{{ title }}</h1> | |
| 30 <hr> | |
| 31 <div class="row"> | |
| 32 <div class="col-6 push-6"> | |
| 33 <img | |
| 34 class="block" | |
| 35 src="{{ featured_img_url }}" | |
| 36 alt="{{ featured_img_alt }}"> | |
| 37 </div> | |
| 38 <div class="col-6 pull-6 m-b-xl"> | |
| 39 <p> | |
| 40 <b> | |
| 41 POSTED | |
| 42 <time datetime="{{ published_date }}"> | |
| 43 {{ humanize_date(published_date) }} | |
| 44 </time> | |
| 45 </b> | |
| 46 <span class="muted"> | |
| 47 by {{ author }} | |
| 48 </span> | |
| 49 </p> | |
| 50 {{ super() }} | |
| 51 </div> | |
| 52 </div> | |
| 53 </article> | |
| 54 {% endblock %} | |
| OLD | NEW |