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 'source/ui-shared.h')
-rw-r--r--source/ui-shared.h1
1 file changed, 1 insertion, 0 deletions
diff --git a/source/ui-shared.h b/source/ui-shared.h
index 5a1e5fc..da1b889 100644
--- a/source/ui-shared.h
+++ b/source/ui-shared.h
@@ -141,4 +141,5 @@ extern void cgit_add_hidden_formfields(int incl_head, int incl_search, const cha
* Put path in front of the page title, its last component first.
*/
extern void cgit_set_title_from_path(const char *path);
+extern void cgit_prefix_title(const char *name);
#endif // CGIT_UI_SHARED_H