πŸ’­ API β€” Jinja Documentation ━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://jinja.palletsprojects.com/en/3.0.x/api/#jinja2.FileSystemLoader Date: August 4, 2023 ![https://jinja.palletsprojects.com/en/3.0.x/api/ #jinja2 .FileSystemLoader](/static/https://jinja.palletsprojects.com/en/3.0.x/api/ #jinja2 .FileSystemLoader) I’ve definitely been missing out on setting up a proper jinja loader on a few projects, I need to lean on this a bit more. [code] class jinja2.FileSystemLoader(searchpath, encoding='utf-8', followlinks=False): ''' Load templates from a directory in the file system. ''' β”‚ The path can be relative or absolute. Relative paths are relative to the current working directory. [code] loader = FileSystemLoader("templates") # A list of paths can be given. The directories will be searched in order, stopping at the first matching template. loader = FileSystemLoader(["/override/templates", "/default/templates"]) NOTE β”‚ This post is a thought </thoughts/>. It’s a short note that I make about someone else’s content online #thoughts </tags/thoughts/>