Skip to content

Commit 488147c

Browse files
authored
fix(djangohtml): fix name placeholder in block tag (rafamadriz#497)
Fixes rafamadriz#480
1 parent c2ba397 commit 488147c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/frameworks/djangohtml.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"prefix": "block",
99
"description": "block tag django template",
1010
"body": [
11-
"{% block ${blockname} %}",
11+
"{% block ${1:blockname} %}",
1212
"$2",
13-
"{% endblock ${blockname} %}"
13+
"{% endblock $1 %}"
1414
]
1515
},
1616
"comment": {

0 commit comments

Comments
 (0)