mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-08 00:27:58 +00:00
Fix condition in page creator script.
This commit is contained in:
parent
c473771af4
commit
d78f034f5d
@ -30,7 +30,7 @@ read_categories() {
|
||||
|
||||
if [[ -n $_categories ]]; then
|
||||
echo "$_categories" | sed "s/categories *: *//;s/\[//;s/\].*//;s/, */,/g;s/\"//g;s/'//g"
|
||||
elif [[ -n "_category" ]]; then
|
||||
elif [[ -n $_category ]]; then
|
||||
echo "$_category" | sed "s/category *: *//;s/\[//;s/\].*//;s/, */,/g;s/\"//g;s/'//g"
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user