View definition

func NewLocalFileSystemLoader

Defined in github.com/flosch/pongo2/template_loader.go

Description

NewLocalFileSystemLoader creates a new LocalFilesystemLoader and allows templatesto be loaded from disk (unrestricted). If any base directory is given (or being set using SetBaseDir), this base directory is being used for path calculation in template inclusions/imports. Otherwise the path is calculated based relatively to the including template's path.

NewLocalFileSystemLoader is referenced in 2 repositories

github.com/flosch/pongo2 github.com/iris-contrib/template