fixed stuff regarding the tab title

+ now has the same filter routines and text as the <h1> element in the HTML :3
  (it now also says "Channel "${CHANNEL}", w/ the same filters to not say "Uploads from" or "- Videos" attached to the actual channel name)
master
4 raccoons in a trenchcoat. / luna vivian 2023-04-23 22:53:00 +02:00 committed by Dominique Liberda
parent dc670adb45
commit 559e29421a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ fi
title=$(jq -r '.title' <<< $data)
if [[ ${cfg[template]} != 'retro' ]]; then
meta[title]="$title"
meta[title]="Channel \"$(html_encode "$title" | sed -E "s/ - Videos//g" | sed -E "s/Uploads from //g")\""
#source templates/head.sh
source "${cfg[namespace]}/templates/header.shs"
fi