15 lines
308 B
Bash
Executable file
15 lines
308 B
Bash
Executable file
#!/bin/bash
|
|
|
|
declare -A strings
|
|
|
|
logout
|
|
meta[redirect]='/'
|
|
#source templates/head.sh
|
|
source "${cfg[namespace]}/templates/header.shs"
|
|
|
|
if [[ ${cfg[template]} != 'retro' ]]; then
|
|
echo "Logged out successully. Redirecting.."
|
|
fi
|
|
|
|
render strings "${cfg[namespace]}/templates/themes/${cfg[template]}/logout.html"
|