Files
docker-compose/dev/templates/home.tmpl
Sebastian Krüger 56a8f2d6a3 feat: add custom Gitea landing page and re-enable public access
- Disable REQUIRE_SIGNIN_VIEW to allow public landing page
- Mount custom templates directory
- Add custom home.tmpl with simple welcome page and sign-in button
- Remove default Gitea promotional content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 19:00:37 +01:00

33 lines
1.1 KiB
Cheetah

{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
<div class="tw-mb-8 tw-px-8">
<div class="center">
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
<div class="hero">
<h1 class="ui icon header title tw-text-balance">
{{AppName}}
</h1>
<h2 class="tw-text-balance">Git with a cup of tea</h2>
</div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center column">
<h1 class="hero ui icon header">
{{svg "octicon-mark-github"}} Welcome to Pivoine Git
</h1>
<p class="large tw-text-balance">
A painless self-hosted Git service for development and collaboration.
</p>
{{if not .IsSigned}}
<div class="tw-mt-8">
<a class="ui primary button" href="{{AppSubUrl}}/user/login">
{{svg "octicon-sign-in"}} Sign In
</a>
</div>
{{end}}
</div>
</div>
</div>
{{template "base/footer" .}}