for the danbooru subnav bar, assume that the front page = post/list
This commit is contained in:
parent
8803a58991
commit
8e676abd62
1 changed files with 6 additions and 0 deletions
|
@ -131,6 +131,12 @@ class Layout {
|
|||
default:
|
||||
$custom_sublinks .= $user_block_html;
|
||||
break;
|
||||
case "":
|
||||
# FIXME: this assumes that the front page is
|
||||
# post/list; in 99% of case it will either be
|
||||
# post/list or home, and in the latter case
|
||||
# the subnav links aren't shown, but it would
|
||||
# be nice to be correct
|
||||
case "post":
|
||||
case "comment":
|
||||
case "upload":
|
||||
|
|
Reference in a new issue