Make a Static Page in Hugo
Create New File: /content/privacy-policy/_index.md
The crucial part of this, is we’ve changed the layout from post to page.
Create New File: /layout/_default/page.html
To begin with, this can be a copy of your
single.html (which might be within your theme). Because we don’t know what your single layout looks like, we’ll show an example one below.
Also note that the name of this file is important - it needs to match our layout within the content.
The same process can be applied to search, about and contact pages if needed too.