Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Name the page first in every title
Summary, about, log, refs, tag and stats pages shared one title, so
tabs, history and search results could not tell them apart. Titles now
read page, repository and site, with root-title as the site, and the
description stays in the meta description, where search engines read
it.
Diffstat (limited to 'tests/t0113-tag.sh')
| -rwxr-xr-x | tests/t0113-tag.sh | 5 |
1 file changed, 5 insertions, 0 deletions
diff --git a/tests/t0113-tag.sh b/tests/t0113-tag.sh index b91c7e6..2043385 100755 --- a/tests/t0113-tag.sh +++ b/tests/t0113-tag.sh @@ -86,4 +86,9 @@ test_expect_success 'a signed tag shows its signature in the message' ' ! grep "<details" tmp ' +test_expect_success 'a tag page names the tag in its title' ' + cgit_url "foo/tag/&h=v1.0" >tmp && + grep "<title>v1.0 - foo - Git repository browser</title>" tmp +' + test_done |
