Commits

Anonymous committed 1d1e834

Django template snippets

Comments (0)

Files changed (1)

.vim/snippets/html.snippets

 		${2}
 	</body>
 	</html>
+snippet djb
+	{% block ${1} %}
+		${2}
+	{% endblock %}
+snippet djif
+	{% if ${1} %}
+		${2}
+	{% endif %}
+snippet djfor
+	{% for ${1} in ${2} %}
+		${3}
+	{% endfor %}