ungleich-staticcms/templates/comic.html
Nico Schottelius 010e6d550e another hint
2020-02-05 13:45:24 +01:00

40 lines
932 B
HTML

{% extends "layout-2020.html" %}
{% block title %}Penguin Comics{% endblock %}
{% block subtitle %}{{ this.subtitle }}{% endblock %}
{% block content %}
{% set image = this.attachments.images.first() %}
THIS TEMPLATE IS UNUSED -- BECAUSE COMICS ARE RENDERED IN THE PAGINATION
<div class="container">
<div class="row mb-5">
<div class="col-md-3">
<!-- unused for centering -->
</div>
<div class="col-md-6">
<img src="{{ image|url }}" alt="{{ this.title }}"
class="img-fluid"/>
</div>
<div class="col-md-3">
<!-- unused for centering -->
</div>
</div>
</div>
{% if this.body %}
<div class="container">
<div class="row mb-3">
<div class="col-md-3">
<!-- unused for centering -->
</div>
<div class="col-md-6">
{{ this.body }}
</div>
<div class="col-md-3">
<!-- unused for centering -->
</div>
</div>
</div>
{% endif %}
{% endblock %}