++penguin comics
This commit is contained in:
parent
7c586e5dcd
commit
e1a56d266a
8 changed files with 116 additions and 7 deletions
39
templates/comic.html
Normal file
39
templates/comic.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{% extends "layout-2020.html" %}
|
||||
{% block title %}Penguin Comics{% endblock %}
|
||||
{% block subtitle %}{{ this.subtitle }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% set image = this.attachments.images.first() %}
|
||||
|
||||
|
||||
<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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue