diff --git a/docs/new.sh b/docs/new.sh index b698fa3d..7ba49194 100755 --- a/docs/new.sh +++ b/docs/new.sh @@ -21,8 +21,12 @@ function new() { local filename="$next-$name.md" echo "Creating $filename" - touch "$filename" + cat <<- EOF > "$filename" + --- + slug: /$next/$name + displayed_sidebar: europa + --- +EOF } - new "$@"