# Gitea Bootstrap 5 Landing Page Theme A drop-in theme that replaces the public front page of a Gitea instance with a modern Bootstrap 5 + Font Awesome experience. Signed-in users see a refreshed quick-action dashboard row, while guests get a marketing-style hero layout with prominent calls to action. ![Screenshot of the customized Gitea home landing page showing the Bootstrap hero layout, quick actions, and footer enhancements](asset/snap1.png) ## What's Included - `custom/templates/home.tmpl` – overrides the default landing page with a Bootstrap 5 design - `custom/templates/custom/header.tmpl` – injects Bootstrap, Font Awesome, typography, and inlined theme styles - `custom/templates/custom/body_inner_pre.tmpl` – adds a compact promotional banner above the navigation bar - `custom/templates/custom/footer.tmpl` – delivers a multi-column footer with curated resource links ## Prerequisites - Gitea 1.18+ (tested against the current `main` template structure) - Access to the `custom/` directory on your Alpine Linux host (default `/var/lib/gitea/custom` when using the official packages) ## Installation 1. **Stop Gitea (optional but safest):** ```sh sudo rc-service gitea stop ``` 2. **Copy the theme files:** ```sh sudo rsync -av custom/ /var/lib/gitea/custom/ ``` Adjust the destination path if your `APP_DATA_PATH` differs. 3. **Fix permissions:** ```sh sudo chown -R git:git /var/lib/gitea/custom ``` Replace `git:git` with the user/group running your Gitea service. 4. **Start or restart Gitea:** ```sh sudo rc-service gitea start ``` 5. **Bust caches (optional but recommended):** add or increment `ui.asset_version` in `app.ini`, or clear `$GITEA_CUSTOM/public` cache if you use a CDN. ## Configuration Tips - No configuration changes are required, but you can force the refreshed styles to load by setting `ui.use_service_worker = false` if you rely on aggressive caching. - To adjust colors or typography, edit the `