-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the issue
templates with extend not rendering
Vapor version
4.102.0
Operating system and version
MacOS14.5
Swift version
Swift5.10
Steps to reproduce
/Views/Layouts/base.leaf
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
#if(meta):
#(meta)
#endif
<title>#(title)</title>
</head>
<body>
#(body)
</body>
</html>
/Views/Public/about.leaf
#extend("Layouts/base"):
#export("title"):
About Seald CMS
#endexport
#export("meta"):
<meta name="description" content="This is the home page of My Vapor App">
<meta name="keywords" content="vapor, swift, web, app">
#endexport
#export("body"):
<h1>Hello Seald CMS</h1>
#endexport
#endextend
Outcome
No response
Additional notes
Documentation about syntax for extend and export is not up to date imo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working