Merge pull request #288 from samsonjs/patch-1

Fix articles example in the documentation
This commit is contained in:
Yonas Kolb
2019-12-07 07:55:03 +11:00
committed by GitHub

View File

@@ -32,7 +32,7 @@ feel right at home with Stencil.
] ]
let environment = Environment(loader: FileSystemLoader(paths: ["templates/"]) let environment = Environment(loader: FileSystemLoader(paths: ["templates/"])
let rendered = try environment.renderTemplate(name: context) let rendered = try environment.renderTemplate(name: "articles.html", context: context)
print(rendered) print(rendered)