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.
firstof
1 parent d692064 commit 62e3a8eCopy full SHA for 62e3a8e
README.md
@@ -62,6 +62,7 @@ ptd-url | {% url ' `*` ' `*2` %}
62
ptd-load | {% load `*` %}
63
ptd-stat | {% static ' `*` ' %}
64
ptd-inc | {% include ' `*` ' %}
65
+ptd-firstof | {% firstof `*` `*2` %}
66
67
## Release Notes
68
snippets/django-snippets.json
@@ -25,5 +25,12 @@
25
"prefix": "ptd-inc",
26
"body": ["{% include '$1' %}$0"],
27
"description": "Adds Include File Block"
28
+ },
29
+
30
+ "Django - Firstof Tags": {
31
+ "scope": "html",
32
+ "prefix": "ptd-firstof",
33
+ "body": ["{% firstof $1 $2 %}$0"],
34
+ "description": "Adds Firstof Block"
35
}
36
0 commit comments