fix blog script bug: multiple posts on the same day overwrite each other

This commit is contained in:
2026-06-15 18:16:26 +01:00
parent c2aef5c998
commit be6466c0ff
+1 -1
View File
@@ -95,7 +95,7 @@ mkdir -p "${SRC}/${log_name}"
for entry in $(find -L "${BLOGS}/${log_name}" -type f -name "${file_pattern}") for entry in $(find -L "${BLOGS}/${log_name}" -type f -name "${file_pattern}")
do do
basename="$(basename "$entry")" basename="$(basename "$entry")"
name="${basename%%\.*}" name="${basename%\.*}"
dest="${SRC}/${log_name}/${name}${layout_ext}.upphtml" dest="${SRC}/${log_name}/${name}${layout_ext}.upphtml"
if [ $use_filenames_for_titles -eq 1 ] if [ $use_filenames_for_titles -eq 1 ]
then then