Commit Graph

3 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
root
4b8c7fc05b fix: correct typo 'buttom' to 'bottom' in repo home template description 2024-12-08 03:22:42 +00:00
5806c156e3 feat: add initial Gitea static assets including security.txt, CSS, and font files 2024-12-06 18:18:45 +00:00