text/x-twig
Twig template
| Description | Twig template |
|---|---|
| File extensions | .twig |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-twig?
text/x-twig denotes “Twig template”.
Which file extension does text/x-twig use?
Files of type text/x-twig usually end in .twig.
How does a web server serve text/x-twig correctly?
With the header Content-Type: text/x-twig. In nginx: types { text/x-twig twig; }; in Apache: AddType text/x-twig .twig.