gitweb, searx: Simplify handling shortcut for front page
The older code is likely before the card approach was implemented and cached copy had to updated. It is no longer needed as the shortcuts are not filtered based on login required property in the template code.
Tests:
-
When public visibility is enabled/disabled shortcut is properly shown on the frontpage.
-
When restarting the service the public visibility properly dictates whether shortcut is show properly.