15 lines
427 B
Markdown
15 lines
427 B
Markdown
|
---
|
||
|
title: "Hugo: Drafts Showing in Production"
|
||
|
date: 2024-03-17T17:53:39+02:00
|
||
|
draft: false
|
||
|
---
|
||
|
|
||
|
i had an issue with a draft page appearing on my site even after setting `draft: true` in the preamble
|
||
|
|
||
|
to fix it - build the website with
|
||
|
|
||
|
```
|
||
|
hugo --cleanDestinationDir
|
||
|
```
|
||
|
|
||
|
from [https://discourse.gohugo.io/t/drafts-showing-in-deployed-hugo-site/19457](https://discourse.gohugo.io/t/drafts-showing-in-deployed-hugo-site/19457)
|