Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce 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-xtests/t0113-tag.sh5
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