Skip to content

Commit 07cdf70

Browse files
authored
Foundation theme: Render content body for pages (#47)
Was previously missing from the built-in Foundation theme.
1 parent 4eb9819 commit 07cdf70

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/Publish/API/Theme+Foundation.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ private struct FoundationHTMLFactory<Site: Website>: HTMLFactory {
9191
.head(for: page, on: context.site),
9292
.body(
9393
.header(for: context, selectedSection: nil),
94-
.wrapper(
95-
96-
),
94+
.wrapper(.contentBody(page.body)),
9795
.footer(for: context.site)
9896
)
9997
)

0 commit comments

Comments
 (0)