docs: fix code example syntax (#348)

This commit is contained in:
twodayslate
2024-12-22 12:54:30 +00:00
committed by GitHub
parent 1aeeced65d
commit 17af3bace1

View File

@@ -31,7 +31,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: "articles.html", context: context)
print(rendered)