Skip to content

Commit

Permalink
render: skip discussion board on static site
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelPour committed Mar 27, 2024
1 parent ae6e35a commit 769224e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ var renderCmd = &cobra.Command{
Timestamp: meta.CreatedAt,
CreatedAt: meta.Date(),
Content: renderedStr,
Discussion: cfg.Discussion,
Discussion: cfg.Discussion && !meta.Static,
Rendered: template.HTML(renderedStr),
FeaturedImage: featuredImage,
Metadata: meta,
Expand Down

0 comments on commit 769224e

Please sign in to comment.