We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b31adda commit 6cf81f2Copy full SHA for 6cf81f2
bolt-pages/bolt/pages/pages.py
@@ -62,7 +62,7 @@ def content_type(self):
62
return extension.lstrip(".")
63
64
def get_template_name(self):
65
- if template_name := self._frontmatter.metadata.get("template_name"):
+ if template_name := self.vars.get("template_name"):
66
return template_name
67
68
return f"{self.content_type}.html"
0 commit comments