VSCode tasks
This commit is contained in:
parent
927c79741c
commit
e9dc68bb14
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