Changed layout to have dynamic page title

This commit is contained in:
2025-03-01 21:27:23 +11:00
parent 141b541e98
commit 9e12f946b3
10 changed files with 11 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ import "projectreshoot/tmdb"
import "projectreshoot/view/layout"
templ Movie(movie *tmdb.Movie, credits *tmdb.Credits, image *tmdb.Image) {
@layout.Global() {
@layout.Global(movie.Title) {
<div class="md:bg-surface0 md:p-2 md:rounded-lg transition-all">
<div
id="billedcrew"