2

Is there a way to make all templates automatically private? Or do I really have to put an _ before every single one?

5

Your templates will be private if they are contained in a folder prefixed with a "_"... So just make a folder like that, and put everything else inside of it:

/craft/templates/_everything/myprivatefile.html
| improve this answer | |
  • Ahh nice, didn't know this also works for folders :) Thank you! – Sidney Widmer Jan 19 '15 at 7:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.