You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/templates/explore
wxiaoguang e57e1144c5
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766)
Follow #21962

After I eat my own dogfood, I would say that
ONLY_SHOW_RELEVANT_REPOS=false is necessary for many private/enterprise
instances, because many private repositories do not have
"description/topic", users just want to search by their names.

This PR also adds `PageIsExploreRepositories` check, to make code more
strict, because the `search` template is shared for different purpose.

And during the test, I found a bug that the "Search" button didn't
respect the "relevant" parameter, so this PR fixes the bug by the way
together.

I think this PR needs to be backported.
1 year ago
..
code.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
navbar.tmpl Optimize html templates (#22080) 2 years ago
organizations.tmpl Add context cache as a request level cache (#22294) 1 year ago
repo_list.tmpl Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
repo_search.tmpl Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) 1 year ago
repos.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
search.tmpl Optimize html templates (#22080) 2 years ago
users.tmpl Add context cache as a request level cache (#22294) 1 year ago