summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/html-mode/django_if
diff options
context:
space:
mode:
authorSimeon Simeonov2017-06-15 12:26:39 +0200
committerSimeon Simeonov2017-06-15 12:26:39 +0200
commiteb05051978896cdc4c5b4af8cf238b12067ba795 (patch)
treee764675506da9f0ff843c666aba8e7db73d72d85 /.emacs.d/snippets/html-mode/django_if
parentbaa0fad528cd0082820c698352e4aeed08fbab51 (diff)
create 3 custom snippets: django-translate, django-if, django-ife
Diffstat (limited to '.emacs.d/snippets/html-mode/django_if')
-rw-r--r--.emacs.d/snippets/html-mode/django_if5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/snippets/html-mode/django_if b/.emacs.d/snippets/html-mode/django_if
new file mode 100644
index 0000000..a356c35
--- /dev/null
+++ b/.emacs.d/snippets/html-mode/django_if
@@ -0,0 +1,5 @@
1# -*- mode: snippet -*-
2#name: django-if
3#key: dj_if
4# --
5{% if ${1:condition} %}$0{% endif %} \ No newline at end of file