chore(scripts): fix titles

This commit is contained in:
Stavros kois
2023-12-31 19:56:16 +02:00
parent d765466bdd
commit e0ff5d7702
3 changed files with 629 additions and 2 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ jobs:
exit 99
fi
echo "Not bad title found, continuing..."
title=$(cat "${file}" | grep "title: " | sed 's/title: //')
title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1)
echo "The title is: ${title}"
# Create a markdown link using the file name and title
link="[**${title}**](./${filename})"