Entitle everything

This commit is contained in:
Nathan Chapman 2022-07-22 14:03:17 -06:00
parent cfd708f158
commit 08abb25ce8
10 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,8 @@
{% load static %}
{% load helpers %}
{% block head_title %}{{ object }} | {% endblock head_title %}
{% block content %}
<article class="account">
<header>

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}Delete Post | {% endblock head_title %}
{% block content %}
<h1>Delete Post</h1>
<form method="POST" action="{% url 'core:post-delete' post.topic.pk post.pk %}">

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}New Post | {% endblock head_title %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<menu>

View File

@ -2,6 +2,8 @@
{% load static %}
{% load helpers %}
{% block head_title %}{{ post.title }} | {% endblock head_title %}
{% block head %}
<script type="module" src="{% static 'scripts/comments.js' %}" defer></script>
{% endblock head %}

View File

@ -1,6 +1,8 @@
{% extends 'base.html' %}
{% load static %}
{% block head_title %}Edit Post | {% endblock head_title %}
{% block content %}
<article class="post">
<h1>Update Post</h1>

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}Delete Topic | {% endblock head_title %}
{% block content %}
<h1>Delete Topic</h1>
<form method="POST" action="{% url 'core:topic-delete' topic.pk %}">

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}New Topic | {% endblock head_title %}
{% block content %}
<h1>+ New Topic</h1>
<form method="POST" action="{% url 'core:topic-create' %}">

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}{{ topic.name }} | {% endblock head_title %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<menu>

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}Edit Topic | {% endblock head_title %}
{% block content %}
<h1>Update Topic</h1>
<form method="POST" action="{% url 'core:topic-update' topic.pk %}">

View File

@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block head_title %}Topics | {% endblock head_title %}
{% block content %}
<article>
<header>