Skip to content

Commit 1c21298

Browse files
committed
add title snippet
1 parent bcadfb6 commit 1c21298

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.vscode/docker.code-snippets

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,18 @@
6363
],
6464
"description": "Insert a Hugo summary bar with a feature name and content. Define your summary key in data/summary.yaml.",
6565
},
66-
66+
"Insert Title": {
67+
"prefix": ["insert title", "frontmatter", "title"],
68+
"body": [
69+
"---",
70+
"title: $1",
71+
"weight: $2",
72+
"description: $3",
73+
"keywords: $4",
74+
"aliases:",
75+
" - $5",
76+
"---"
77+
],
78+
"description": "Insert a frontmatter block with title, weight, description, keywords, and aliases."
79+
}
6780
}

0 commit comments

Comments
 (0)