We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16421b3 commit 06d2355Copy full SHA for 06d2355
examples/static/Sources/Pages/About.swift
@@ -4,10 +4,7 @@ struct About: HTML {
4
var document: Document {
5
.init(
6
path: "about",
7
- metadata: Metadata(
8
- title: "About",
9
- description: "Learn more about this website and its creator"
10
- ),
+ metadata: Metadata(from: Application.metadata, title: "About"),
11
content: { self }
12
)
13
}
examples/static/Sources/Pages/Home.swift
@@ -4,10 +4,7 @@ struct Home: HTML {
path: "",
- title: "Home",
- description: "Welcome to my personal website built with WebUI"
+ metadata: Metadata(from: Application.metadata, title: "Home"),
0 commit comments