Switches layout to use in-template html header titles

This commit is contained in:
Mouse Reeve 2021-02-27 11:07:16 -08:00
parent 0ecfff0f16
commit 9ed5226b58
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{% extends 'layout.html' %}
{% load bookwyrm_tags %}
{% block title %}Updates{% endblock %}
{% block content %}
<div class="columns">

View file

@ -2,7 +2,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% if title %}{{ title }} | {% endif %}{{ site.name }}</title>
<title>{% block title %}BookWyrm{% endblock %} | {{ site.name }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/static/css/bulma.min.css">
<link type="text/css" rel="stylesheet" href="/static/css/format.css">