Working on _blog_idx_for_index

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 13:24:18 +01:00
parent ff340e40d8
commit fa941e57d7

4
qsgen2
View File

@ -552,7 +552,7 @@ function _blog_idx_for_index() {
BTITLE:*) btitle=${component#BTITLE: } ;; BTITLE:*) btitle=${component#BTITLE: } ;;
INGRESS:*) ingress=${component#INGRESS: } ;; INGRESS:*) ingress=${component#INGRESS: } ;;
URL:*) url=${component#URL: } ;; URL:*) url=${component#URL: } ;;
esac
local adate=( $( echo ${sdate} ) ) local adate=( $( echo ${sdate} ) )
local bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}" local bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}"
@ -563,7 +563,7 @@ function _blog_idx_for_index() {
echo ${blog_list_content} >> ${project_dir}/blog/index.tmp.html echo ${blog_list_content} >> ${project_dir}/blog/index.tmp.html
esac
done done
done done