Commit Graph

5 Commits

Author SHA1 Message Date
5e6e4ffb32 feat: add signed-in conditional blocks and fix repo home template rendering logic
- Wrapped file view, blame, and directory listing sections inside `{{if .IsSigned}}` blocks to restrict content visibility to authenticated users.
- Moved `repo/sub_menu` template inclusion into the signed-in block for both home and directory views.
- Added duplicate `{{if .IsSigned}}` check and redundant template calls for view_file, blame, and view_list to correct nested conditional structure.
- Removed `{{if .IsSigned}}` guard from the original `repo/sub_menu` call to prevent double rendering and align with new layout.
2024-12-15 23:56:09 +00:00
c0d105a2fa feat: add whoogle search link to navbar and fix casing inconsistencies in gists anchor text 2024-12-08 04:05:29 +00:00
root
4b8c7fc05b fix: correct typo 'buttom' to 'bottom' in repo home template description 2024-12-08 03:22:42 +00:00
f2b5cd5444 feat: add projects link to signed-in user navbar in head_navbar template
- Insert conditional "Projects" navigation item for authenticated users
- Remove commented-out help link block for non-signed-in users
2024-12-08 03:16:50 +00:00
5806c156e3 feat: add initial Gitea static assets including security.txt, CSS, and font files 2024-12-06 18:18:45 +00:00