utils library


getDirList() → List<String>
returns a list of Strings, each represent a section name.
isInitialized(Map ctx) → bool
is used to check if any initialized site is found on the path ctx is zaart context map
readConfig(String path) Config
reads site condig from path and returns a Config object
renameMd2Html(String name) → String
helper function that renames a string ending with '.md' to '.html'
writeConfig(Map<String, dynamic> cfg, String path) → bool
converts a Config objects to its json representation and writes it into file