Alex NeonXP
87a40a0200
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
3 lines
275 B
Bash
Executable file
3 lines
275 B
Bash
Executable file
#! /bin/sh
|
||
filename=`echo $1 | sed "s/ /_/g"`
|
||
echo "---\ntitle: \"$1\"\ndate: $(date '+%Y-%m-%dT%H:%M:%S')+03:00\ntags: []\n---\n\n\n\nЕсть что накинуть? Внизу теперь есть комментарии:" > content/posts/$(date '+%Y-%m-%d')-$filename.md |