Add title tags to all pages

This commit is contained in:
Drew DeVault 2020-04-28 13:39:46 -04:00
parent 9d9c899d91
commit 19c9a87682
19 changed files with 51 additions and 3 deletions

View File

@ -1,4 +1,7 @@
{% extends "layout.html" %}
{% block title %}
<title>{{cfg("sr.ht", "site-name")}} hub</title>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-8">

View File

@ -1,4 +1,7 @@
{% extends "resource-new.html" %}
{% block title %}
<title>New mailing list - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="row">
{# TODO: Hide this option for any projects which already have lists #}

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>Manage mailing lists - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "resource-list.html" %}
{% block title %}
<title>{{project.name}} mailing lists</title>
{% endblock %}
{% block resource_list %}
{% for mailing_list in mailing_lists %}
<div class="event">

View File

@ -1,4 +1,7 @@
{% extends "layout.html" %}
{% block title %}
<title>{{cfg("sr.ht", "site-name")}} dashboard</title>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-10 offset-md-1" style="margin-top: 1rem; margin-bottom: 1rem;">

View File

@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% import "event.html" as eventutil with context %}
{% block title %}
<title>{{user.canonical_name}} on {{cfg("sr.ht", "site-name")}}</title>
<title>{{user.canonical_name}}</title>
{% endblock %}
{% block content %}
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>{{project.name}} project settings</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "layout.html" %}
{% block title %}
<title>New project - {{cfg("sr.ht", "site-name")}}</title>
{% endblock %}
{% block content %}
<style>
.form-group:last-child {

View File

@ -1,5 +1,8 @@
{% extends "project-base.html" %}
{% import "event.html" as eventutil with context %}
{% block title %}
<title>{{project.name}} activity</title>
{% endblock %}
{# TODO: RSS feed #}
{% block content %}
<div class="container">

View File

@ -1,6 +1,6 @@
{% extends "layout-full.html" %}
{% block title %}
<title>Browse projects - {{cfg("sr.ht", "site-name")}}</title>
<title>Browse projects on {{cfg("sr.ht", "site-name")}}</title>
{% endblock %}
{% block body %}
<div class="container-fluid">

View File

@ -1,5 +1,8 @@
{% extends "project-base.html" %}
{% import "event.html" as eventutil with context %}
{% block title %}
<title>{{project.name}}: {{project.description}}</title>
{% endblock %}
{% block content %}
<div class="container">
{% if not project.checklist_complete %}

View File

@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% import "event.html" as eventutil with context %}
{% block title %}
<title>{{user.canonical_name}}'s projects - {{cfg("sr.ht", "site-name")}}</title>
<title>{{user.canonical_name}}'s projects</title>
{% endblock %}
{% block content %}
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>Delete {{resource_type}} - {{project.name}}</title>
{% endblock %}
{% block content %}
<form class="container" method="POST">
{{csrf_token()}}

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>{{project.name}} {{view}} - {{cfg("sr.ht", "site-name")}}</title>
{% endblock %}
{% block content %}
<form class="container">
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>Manage sources - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">

View File

@ -1,4 +1,7 @@
{% extends "resource-new.html" %}
{% block title %}
<title>New source repository - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-10" method="POST">

View File

@ -1,4 +1,7 @@
{% extends "resource-new.html" %}
{% block title %}
<title>New {{vcs}} repository - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-8">

View File

@ -1,4 +1,7 @@
{% extends "resource-new.html" %}
{% block title %}
<title>New ticket tracker - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="row">
<form class="col-lg-8" method="POST">

View File

@ -1,4 +1,7 @@
{% extends "project-base.html" %}
{% block title %}
<title>Manage trackers - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">