11 lines
277 B
Bash
Executable file
11 lines
277 B
Bash
Executable file
#! /bin/sh
|
|
filename=`echo "${@:1}" | sed "s/ /_/g"`
|
|
echo "---
|
|
title: \"${@:1}\"
|
|
date: $(date '+%Y-%m-%dT%H:%M:%S')+03:00
|
|
tags: []
|
|
---
|
|
|
|
|
|
|
|
Есть что накинуть? Внизу теперь есть комментарии:" > content/posts/$(date '+%Y-%m-%d')-$filename.md |