Working on _blog_idx_for_index

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 12:44:16 +01:00
parent 4a7a3e18f0
commit 8a8d929e5a

10
qsgen2
View File

@ -541,10 +541,12 @@ function _blog_idx_for_index() {
do do
echo "0. ${blogs}" echo "0. ${blogs}"
local index_array=("${(@s/||/)blogs}") local index_array=("${(@s/||/)blogs}")
echo "1. ${index_array[URL]}" for item in ${index_array[@]}
echo "2. ${index_array[BTITLE]}" echo "1. ${item[URL]}"
echo "3. ${index_array[SDATE[@]]}" echo "2. ${item[BTITLE]}"
echo "4. ${index_array[INGRESS]}" echo "3. ${item[SDATE[@]]}"
echo "4. ${item[INGRESS]}"
done
done done
} }