From f032f7a78bbac0ef7f2130d24140bdb709394445 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Mon, 31 Jan 2022 10:24:25 +0000 Subject: [PATCH] Add `.njk` extension for Nunjucks templates See https://mozilla.github.io/nunjucks/templating.html#file-extensions. --- identify/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/identify/extensions.py b/identify/extensions.py index b5b9293..dd834a5 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -129,6 +129,7 @@ 'nims': {'text', 'nim'}, 'nimble': {'text', 'nimble'}, 'nix': {'text', 'nix'}, + 'njk': ('text', 'nunjucks'}, 'otf': {'binary', 'otf'}, 'p12': {'binary', 'p12'}, 'patch': {'text', 'diff'},