From 44a3d89e21ee873992051613c4acaf362c88a45f Mon Sep 17 00:00:00 2001 From: Damien Sorel Date: Sun, 29 Mar 2026 17:28:56 +0200 Subject: [PATCH] Use gallery title in page title This changes the `` content to be the same as the default template so it always includes the galllery title. --- template/header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/header.tpl b/template/header.tpl index dd8b504..d82fb22 100644 --- a/template/header.tpl +++ b/template/header.tpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang={$lang_info.code} dir={$lang_info.direction}> <head> -<title>{if $PAGE_TITLE=='Home'|@translate}{$GALLERY_TITLE}{else}{$PAGE_TITLE}{/if} +{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE} {* cannot be loaded by combine_css because it contains relative urls *} {strip}{get_combined_css}