Entitle everything
This commit is contained in:
parent
cfd708f158
commit
08abb25ce8
@ -2,6 +2,8 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
|
{% block head_title %}{{ object }} | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article class="account">
|
<article class="account">
|
||||||
<header>
|
<header>
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}Delete Post | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Delete Post</h1>
|
<h1>Delete Post</h1>
|
||||||
<form method="POST" action="{% url 'core:post-delete' post.topic.pk post.pk %}">
|
<form method="POST" action="{% url 'core:post-delete' post.topic.pk post.pk %}">
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}New Post | {% endblock head_title %}
|
||||||
|
|
||||||
{% block breadcrumbs %}
|
{% block breadcrumbs %}
|
||||||
<div class="breadcrumbs">
|
<div class="breadcrumbs">
|
||||||
<menu>
|
<menu>
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
|
{% block head_title %}{{ post.title }} | {% endblock head_title %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<script type="module" src="{% static 'scripts/comments.js' %}" defer></script>
|
<script type="module" src="{% static 'scripts/comments.js' %}" defer></script>
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
{% block head_title %}Edit Post | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<h1>Update Post</h1>
|
<h1>Update Post</h1>
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}Delete Topic | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Delete Topic</h1>
|
<h1>Delete Topic</h1>
|
||||||
<form method="POST" action="{% url 'core:topic-delete' topic.pk %}">
|
<form method="POST" action="{% url 'core:topic-delete' topic.pk %}">
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}New Topic | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>+ New Topic</h1>
|
<h1>+ New Topic</h1>
|
||||||
<form method="POST" action="{% url 'core:topic-create' %}">
|
<form method="POST" action="{% url 'core:topic-create' %}">
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}{{ topic.name }} | {% endblock head_title %}
|
||||||
|
|
||||||
{% block breadcrumbs %}
|
{% block breadcrumbs %}
|
||||||
<div class="breadcrumbs">
|
<div class="breadcrumbs">
|
||||||
<menu>
|
<menu>
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}Edit Topic | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Update Topic</h1>
|
<h1>Update Topic</h1>
|
||||||
<form method="POST" action="{% url 'core:topic-update' topic.pk %}">
|
<form method="POST" action="{% url 'core:topic-update' topic.pk %}">
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block head_title %}Topics | {% endblock head_title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user