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