Working on _blog_idx_for_index

This commit is contained in:
Stig-Ørjan Smelror 2024-01-30 12:39:47 +01:00
parent eda0257b52
commit 15d458b909

12
qsgen2
View File

@ -486,11 +486,7 @@ function _blogs() {
done
else
echo "_blogs: get_index: Date = ${sdate[@]}"
echo "_blogs: get_index: URL = ${blog_url}"
echo "_blogs: get_index: Title = ${btitle}"
echo "_blogs: get_index: Ingress = ${ingress}"
exit
# Declare the array to hold metadata strings for each blog
BLOG_META_STR_ARRAY=()
@ -506,6 +502,12 @@ function _blogs() {
blog_dir="/blog/${sdate[2]}/${sdate[3]:l}/${sdate[4]}"
blog_url="${blog_dir}/${blog_index}.html"
echo "_blogs: get_index: Date = ${sdate[@]}"
echo "_blogs: get_index: URL = ${blog_url}"
echo "_blogs: get_index: Title = ${btitle}"
echo "_blogs: get_index: Ingress = ${ingress}"
exit
if ${debug}; then echo "_blogs: Adding data for ${blog} to array"; fi
# Concatenate all metadata into a single string for the current blog