diff --git a/docs/index.rst b/docs/index.rst index 9d1987ef..481f8a5d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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)