From 3bbe86ea4a0308c9f8bbd094f2de8674f60848f4 Mon Sep 17 00:00:00 2001 From: garhve Date: Fri, 9 Dec 2022 17:25:11 +0800 Subject: fixed minor mistake --- cn/posts/2/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cn/posts/2/index.html b/cn/posts/2/index.html index 6facc58..6ecb379 100644 --- a/cn/posts/2/index.html +++ b/cn/posts/2/index.html @@ -197,14 +197,14 @@ push出去。

echo "all option would be default to 1 except 2[1 or 2]: " read l -if [ l -eq 1 ]; then +if [ $l -eq 1 ]; then lang="en" -elif [ l -eq 2 ]; then +elif [ $l -eq 2 ]; then lang="cn" else lang="en" fi -[ lang == "cn" ] && mv "content/en/posts/$name" "content/cn/posts/$name" +[ $lang == "cn" ] && mv "content/en/posts/$name" "content/cn/posts/$name" vim "content/$lang/posts/$name" hugo -- cgit v1.2.3-70-g09d2