fix: apply the BrandingName setting to the masthead and page title
The brandingName admin setting was saved but never used — layout/login/register hardcoded "Bounty Board". render() now passes the configured brand into every page, and the top-nav masthead, <title>, and login/register headers use it. (The "Bounty Board" board-feature labels are left as-is.) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{.Title}} · Bounty Board</title>
|
||||
<title>{{.Title}} · {{.Brand}}</title>
|
||||
<link rel="stylesheet" href="/static/css/app.css">
|
||||
<script src="/static/js/theme.js"></script>
|
||||
</head>
|
||||
<body {{if .User}}data-logged-in="1"{{end}} data-nav="{{if .User}}{{.NavLayout}}{{else}}top{{end}}">
|
||||
<nav class="topnav">
|
||||
<a class="brand" href="/">Bounty Board</a>
|
||||
<a class="brand" href="/">{{.Brand}}</a>
|
||||
<div class="links">
|
||||
{{if .User}}
|
||||
{{if .User.Roles.Developer}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{define "content"}}
|
||||
<header class="masthead">
|
||||
<p class="masthead-kicker">Consulting Work Exchange</p>
|
||||
<p class="masthead-title">◈ Bounty Board</p>
|
||||
<p class="masthead-title">◈ {{.Brand}}</p>
|
||||
<p class="masthead-rule">❦</p>
|
||||
</header>
|
||||
<div class="card">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{define "content"}}
|
||||
<header class="masthead">
|
||||
<p class="masthead-kicker">Consulting Work Exchange</p>
|
||||
<p class="masthead-title">◈ Bounty Board</p>
|
||||
<p class="masthead-title">◈ {{.Brand}}</p>
|
||||
<p class="masthead-rule">❦</p>
|
||||
</header>
|
||||
<div class="card">
|
||||
|
||||
Reference in New Issue
Block a user