fix build?
Homepage / publish (push) Successful in 17s
Details
Homepage / publish (push) Successful in 17s
Details
This commit is contained in:
parent
4362e4401b
commit
8da6378b3a
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Featurephone: still going
|
title: "Featurephone: still going"
|
||||||
date: 2024-07-30
|
date: 2024-07-30
|
||||||
tags:
|
tags:
|
||||||
- featurephone
|
- featurephone
|
|
@ -20,14 +20,14 @@ YYYY="$(date +%Y)"
|
||||||
MM="$(date +%m)"
|
MM="$(date +%m)"
|
||||||
DD="$(date +%d)"
|
DD="$(date +%d)"
|
||||||
|
|
||||||
slug=$(echo "$SLUG" | tr 'A-Z ' 'a-z-')
|
slug=$(echo "$SLUG" | tr 'A-Z ' 'a-z-' | tr -d ':')
|
||||||
dir="$YYYY/$MM-$DD-$slug"
|
dir="$YYYY/$MM-$DD-$slug"
|
||||||
index="$dir/index.md"
|
index="$dir/index.md"
|
||||||
|
|
||||||
mkdir -p "$dir"
|
mkdir -p "$dir"
|
||||||
cat <<EOD >"$index"
|
cat <<EOD >"$index"
|
||||||
---
|
---
|
||||||
title: $TITLE
|
title: "$TITLE"
|
||||||
date: $YYYY-$MM-$DD
|
date: $YYYY-$MM-$DD
|
||||||
tags:
|
tags:
|
||||||
- untagged
|
- untagged
|
||||||
|
|
Loading…
Reference in New Issue