From 559e29421a4378f774ac2f87533bd4d885b46db8 Mon Sep 17 00:00:00 2001 From: "4 raccoons in a trenchcoat. / luna vivian" Date: Sun, 23 Apr 2023 22:53:00 +0200 Subject: [PATCH] fixed stuff regarding the tab title + now has the same filter routines and text as the

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) --- webroot/channel.shs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/channel.shs b/webroot/channel.shs index d8f9b53..4bd971d 100644 --- a/webroot/channel.shs +++ b/webroot/channel.shs @@ -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