# Disabling specific pages

**URL:** <https://discourse.gohugo.io/t/disabling-specific-pages/38765>\
**Category:** support\
**Created:** [May 24, 2022, 8:35am UTC](https://discourse.gohugo.io/t/disabling-specific-pages/38765 "2022-05-24T08:35:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drElektron](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@drElektron](https://discourse.gohugo.io/u/drElektron)\
**Post date:** [May 24, 2022, 8:35am UTC](https://discourse.gohugo.io/t/disabling-specific-pages/38765/1 "2022-05-24T08:35:05Z")

</div>

Does anyone know of a way to disable specific pages from rendering without setting them to draft? The use scenarios could be various, but in my case there are some pages that I want to disable but keep within the repo for potential future use. Another scenario could be that a person has several draft pages but doesn’t want them all rendered by server, thus keeping server draft rendering as clean as possible.

Ideally there would be an elegant solution such as being able to set a front matter item, e.g disable = true.

Hopefully that makes sense. Any advice is appreciated.

---

<div class="post-metadata">

**Author:** ![fekete-robert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/fekete-robert/32/13363_2.png) [@fekete-robert](https://discourse.gohugo.io/u/fekete-robert)\
**Post date:** [May 24, 2022, 8:59am UTC](https://discourse.gohugo.io/t/disabling-specific-pages/38765/2 "2022-05-24T08:59:58Z")

</div>

AFAIK adding the following to the frontmatter of the page should work:

```auto
_build:
 list: false
 render: false

```

> **[Build Options](https://gohugo.io/content-management/build-options/)**
>
> Build options help define how Hugo must treat a given page when building the site.
