_blogs: Display the blog title instead of the blog HTML file name

This commit is contained in:
Stig-Ørjan Smelror 2024-02-24 22:47:40 +01:00
parent ac2a58dba6
commit ddbdccd490

6
qsgen2
View File

@ -586,6 +586,8 @@ function _blogs() {
local debug=true local debug=true
fi fi
_msg main "${0:t}_msg_3"
# Running function _list_blogs # Running function _list_blogs
if (${debug}) _msg debug "${0:t}_msg_1" if (${debug}) _msg debug "${0:t}_msg_1"
_list_blogs _list_blogs
@ -595,8 +597,6 @@ function _blogs() {
return return
fi fi
_msg main "${0:t}_msg_3"
# Running function _blog_cache # Running function _blog_cache
if (${debug}) _msg debug "${0:t}_msg_4" if (${debug}) _msg debug "${0:t}_msg_4"
_blog_cache _blog_cache
@ -697,7 +697,7 @@ function _blogs() {
if (${debug}) _msg debug "${0:t}_msg_12" " ${blog}" if (${debug}) _msg debug "${0:t}_msg_12" " ${blog}"
_msg std " - ${blog_index}.html" _msg std " - ${btitle}"
# Prepare the blog template # Prepare the blog template
if (${debug}) _msg debug "${0:t}_msg_14" " ${blog}" if (${debug}) _msg debug "${0:t}_msg_14" " ${blog}"