Skip to content

Commit f070fe1

Browse files
committed
Fixes webcompat#1412: Add titles to pages
1 parent 0c348d8 commit f070fe1

File tree

8 files changed

+8
-1
lines changed

8 files changed

+8
-1
lines changed

webcompat/templates/about.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}About - {% endblock %}
23
{% block body %}
34
{% include "shared/nav.html" %}
45
<main class="wc-UIContent" role="main">

webcompat/templates/contributors.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}Contributors - {% endblock %}
23
{% block body %}
34
<div>
45
{% include "shared/nav.html" %}

webcompat/templates/issue.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}Issue #{{ number }} - {% endblock %}
23
{% block body %}
34
{% include "shared/nav.html" %}
45
<main class="wc-UISection wc-UISection--backgroundColor" role="main">

webcompat/templates/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<title>webcompat.com</title>
4+
<title>{% block title %}{% endblock %}webcompat.com</title>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="description" content="Open source community for web compatibility. Report bugs from websites or for browsers and help us move the web forward.">

webcompat/templates/list-issue.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}Issues - {% endblock %}
23
{% block body %}
34
<div class="wc-SearchIssue js-SearchIssue" data-username="{{ session.username }}">
45
{% include "shared/nav.html" %}

webcompat/templates/new-issue.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{%- extends "layout.html" -%}
2+
{% block title %}New Issue - {% endblock %}
23
{%- block body -%}
34
{% include "topbar.html" %}
45
<main role="main">

webcompat/templates/privacy.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}Privacy Policy - {% endblock %}
23
{% block body %}
34
{% include "shared/nav.html" %}
45
<main class="wc-UIContent" role="main">

webcompat/templates/user-activity.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "layout.html" %}
2+
{% block title %}{{user}}'s Activity - {% endblock %}
23
{% block body %}
34
{% include "shared/nav.html" %}
45
<main role="main">

0 commit comments

Comments
 (0)