Merge pull request #288 from samsonjs/patch-1
Fix articles example in the documentation
This commit is contained in:
@@ -32,7 +32,7 @@ feel right at home with Stencil.
|
||||
]
|
||||
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user