Closed joaogui1 closed 2 years ago
Create a html layout for pages without dates and save in folder "layouts". Choose that layout in the metadata of the page
edit: create file ...\layouts_default\nodatepage.html copy the stuff below into the file and save the file
{{ define "main" -}}
<section>
<h2>{{ .Title }}</h2>
{{ .Content }}
</section>
{{- end }}
Next, create a new static page named "apagewithoutdates"
Open ...\content\apagewithoutdates.md
add a line to the frontmatter: layout: nodatepage
save and test!
I've got some pages where the date doesn't matter (I don't even remember when I last updated them), is it possible to hide the dates?