Inherit page title from base template
This commit is contained in:
parent
41e3485d71
commit
192848fb43
@ -1,7 +1,5 @@
|
|||||||
{% extends "base.djhtml" %}
|
{% extends "base.djhtml" %}
|
||||||
|
|
||||||
{% block title %} RecMaint {% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1> Tools </h1>
|
<h1> Tools </h1>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% load markdownify %}
|
{% load markdownify %}
|
||||||
{% load widget_tweaks %}
|
{% load widget_tweaks %}
|
||||||
|
|
||||||
{% block title %} {{ tool.name }} - {{ task.name }} | RecMaint {% endblock %}
|
{% block title %} {{ tool.name }} - {{ task.name }} | {{ block.super }} {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<nav aria-label="breadcrumb">
|
<nav aria-label="breadcrumb">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "base.djhtml" %}
|
{% extends "base.djhtml" %}
|
||||||
|
|
||||||
{% block title %} {{ tool }} {% endblock %}
|
{% block title %} {{ tool }} | {{ block.super }} {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<nav aria-label="breadcrumb">
|
<nav aria-label="breadcrumb">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
|
||||||
|
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}RecMaint{% endblock %}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
|
Loading…
Reference in New Issue
Block a user