Basic Structure For Minijinja With Multiple Templates Using A Struct In Rust
These notes may be out of date compared to the way I'm doing things now. They need to be re-vetted
Notes
Look at 2as2evj4 for loading templates from a directory
This works for specific, individual templates. I generally load an entire directory so I use
Code
use context;
use Environment;
use Source;
use Serialize;
use fs;
This uses `Source::new()`rust` to get the templates instead of `.add_template()`rust on an `Environment::new()`rust becuase that doesn't work if you try to use it in a different function.