Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Hannah Bollar <[email protected]>
  • Loading branch information
hanbollar committed Mar 8, 2024
1 parent 7862a88 commit 2411e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smoo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extract_metadata() {
title=$(echo -e "$title" | sed 's/^[0-9]*//')

# Make the slug lowercase
local slug=${title,,}
local slug=$(echo -e "$title" | tr '[:upper:]' '[:lower:]')

# Replace spaces with "-" in the slug
slug=${slug// /-}
Expand Down Expand Up @@ -84,7 +84,7 @@ process_markdown() {
title=$(echo -e "$title" | sed 's/^[0-9]*//')

# Make the slug lowercase
local slug=${title,,}
local slug=$(echo -e "$title" | tr '[:upper:]' '[:lower:]')

# Replace spaces with "-" in the slug
slug=${slug// /-}
Expand Down

0 comments on commit 2411e2b

Please sign in to comment.