2023-07-24 20:47:43 +03:00
|
|
|
#! /bin/sh
|
2024-06-01 21:09:28 +03:00
|
|
|
filename=`echo "${@:1}" | sed "s/ /_/g"`
|
|
|
|
echo "---
|
|
|
|
title: \"${@:1}\"
|
|
|
|
date: $(date '+%Y-%m-%dT%H:%M:%S')+03:00
|
|
|
|
tags: []
|
|
|
|
---
|
2024-06-02 02:55:10 +03:00
|
|
|
" > content/posts/$(date '+%Y-%m-%d')-$filename.md
|