3 Commits
Author SHA1 Message Date
danielandClaude Sonnet 5 55308f7703 Respect base URL for nav logo; prefer logo.svg over favicon.svg
Reference the navbar brand image through relURL so it resolves
correctly when the site is served from a non-root base URL. Use
static/img/logo.svg when present, falling back to img/favicon.svg.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-02 09:44:44 +02:00
danielandClaude Sonnet 5 fc8023961a Fall back to page or site Author param in footer copyright.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-08 13:40:30 +02:00
daniel d9febf84d8 Add scripts_extra.html dummy file. 2026-08-08 12:12:11 +02:00
3 changed files with 6 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<div class="container py-4"> <div class="container py-4">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<p>&copy; {{ now.Year }} {{ .Site.Title }}</p> <p>&copy; {{ now.Year }} {{ or (or .Params.Author .Site.Params.Author) .Site.Title }}</p>
</div> </div>
<div class="col-md-6 text-md-end"> <div class="col-md-6 text-md-end">
<p> <p>
+3 -1
View File
@@ -1,7 +1,9 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top"> <nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top">
<div class="container"> <!-- Changed from container-fluid to container --> <div class="container"> <!-- Changed from container-fluid to container -->
<a class="navbar-brand fw-bold" href="{{ .Site.BaseURL }}"> <a class="navbar-brand fw-bold" href="{{ .Site.BaseURL }}">
<img src="/img/favicon.svg" alt="{{ .Site.Title }}" title="{{ .Site.Title }}"> {{- $logo := "img/favicon.svg" -}}
{{- if os.FileExists "static/img/logo.svg" -}}{{- $logo = "img/logo.svg" -}}{{- end -}}
<img src="{{ $logo | relURL }}" alt="{{ .Site.Title }}" title="{{ .Site.Title }}">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
+2
View File
@@ -0,0 +1,2 @@
<!-- extra scripts may go here -->