Commit Graph

9 Commits

Author SHA1 Message Date
837faafd6b feat: restrict repository file browsing and commit history to authenticated users via conditional template blocks 2024-12-23 01:10:53 +00:00
99e5421464 feat: hide raw file button for signed-in users when readme is not in list 2024-12-17 13:29:15 +00:00
f4a29ac507 chore: restructure repo homepage template to show readme only for signed users and fix view_file container class 2024-12-17 11:25:14 +00:00
b5ad6c2b10 chore: downgrade section headers from h1 to h2 and add HTML/CSS to language list 2024-12-15 23:57:30 +00:00
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