summaryrefslogtreecommitdiff
path: root/comic/templates
diff options
context:
space:
mode:
Diffstat (limited to 'comic/templates')
-rw-r--r--comic/templates/issue.html.j225
1 files changed, 8 insertions, 17 deletions
diff --git a/comic/templates/issue.html.j2 b/comic/templates/issue.html.j2
index 181604f..81afc04 100644
--- a/comic/templates/issue.html.j2
+++ b/comic/templates/issue.html.j2
@@ -1,18 +1,11 @@
-<!DOCTYPE html>
-<html dir="ltr" lang="en">
-<head>
- <meta charset="utf-8"/>
- <title>{{ issue.title() }} - {{ comic.comic_name }}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <meta property="og:title" content="{{ issue.title() }}" />
- <meta property="og:type" content="article" />
- <meta property="og:url" content="{{ url }}" />
- <link rel="stylesheet" href="{{ site.assets_path_static }}/css/bootstrap-grid.min.css" />
+{% extends "base.html.j2" %}
+{% block page_title %}{{ issue.title() }} - {{ comic.comic_name }}{% endblock %}
+{% block og_page_title %}{{ issue.title() }}{% endblock %}
+{% block og_type %}article{% endblock %}
+{% block head_extra %}{{ super() }}
<link rel="stylesheet" href="{{ site.assets_path }}/css/comic.css" />
- <link rel="stylesheet" href="{{ site.assets_path }}/css/font.css" />
-</head>
-<body>
-<div class="bootstrap-wrapper">
+ <link rel="stylesheet" href="{{ site.assets_path }}/css/font.css" />{% endblock %}
+{% block body %}<div class="bootstrap-wrapper">
<div class="container">
<a href="/" class="row dont-bother">
<header class="col-md-9" role="banner"><img class="banner" src="{{ site.assets_path }}/image/banner_placeholder.png" alt="banner"/></header>
@@ -56,6 +49,4 @@
</footer>
</div>
</div>
-</div>
-</body>
-</html>
+</div>{% endblock %}