VSCode tasks
This commit is contained in:
parent
c72d463ca7
commit
3b69e19e2b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
.vscode
|
24
.vscode/tasks.json
vendored
Normal file
24
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start server",
|
||||
"type": "shell",
|
||||
"command": "hugo server",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "New draft",
|
||||
"type": "shell",
|
||||
"command": "hugo new posts/${input:slug}/index.md",
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "slug",
|
||||
"type": "promptString",
|
||||
"description": "Post slug",
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user