Skip to content

Commit

Permalink
Add rel="nofollow" to issue filter links
Browse files Browse the repository at this point in the history
The issue filter links should not be crawled by search engines, because
they they only filter results, and contain nothing new, yet, they put a
considerable load on the server.

To stop - well behaving - search engines from following these links, add
a `rel="nofollow"` property to them. The same property is already
present on the archive download links, and plenty of other places.

Fixes go-gitea#2361.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
  • Loading branch information
algernon committed Feb 17, 2024
1 parent 1e364cc commit 5143ebb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 28 deletions.
Loading

0 comments on commit 5143ebb

Please sign in to comment.