We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3930eb0 commit bf79f03Copy full SHA for bf79f03
template/YYYY-MM-DD-issue-N.md renamed to new_draft.sh
@@ -1,9 +1,13 @@
1
-==TEMPLATE==
2
-<!-- remove this line -->
3
----
+#!/bin/bash
+
+ISSUE="_drafts/$1-issue-$2.md"
4
5
+touch $ISSUE
6
7
+echo "---
8
layout: post
-title: ! 'Issue #'
-author: jsq
9
+title: ! 'Issue #$2'
10
+author: $3
11
---
12
13
> TODO: comment
@@ -30,6 +34,4 @@ author: jsq
30
34
31
35
> TODO
32
36
33
-### Finally
-
-> TODO
37
+### Finally" >> $ISSUE
0 commit comments