diff --git a/site-modules/profile/files/weekly_planning_bot/weekly-planning-bot b/site-modules/profile/files/weekly_planning_bot/weekly-planning-bot --- a/site-modules/profile/files/weekly_planning_bot/weekly-planning-bot +++ b/site-modules/profile/files/weekly_planning_bot/weekly-planning-bot @@ -10,7 +10,7 @@ # Retrieve the template's content TEMPLATE=`curl -s "${URL}/${TEMPLATE_ID}/download"` -TEMPLATE=$(echo "$TEMPLATE" | sed -e "s/\$DATE/$DATE/g") +TEMPLATE=$(echo "$TEMPLATE" | sed -e "s/\$DATE/$DATE/g" | sed -e "/^tags:/s/, template//") # Create a new page initialized with the template content RESP=`curl -s -A POST -H "Content-Type: text/markdown" "${URL}/new" --data-binary "$TEMPLATE"`