Skip to main content
On this page

Page Parameters

These parameters can be defined in a page’s Front Matter to control its display and behavior.

Basic Parameters

---
title: "My Page Title"
description: "This is the page description"
weight: 10
date: '2025-10-22T02:27:46+08:00'
lastmod: '2025-10-29T02:27:46+08:00'
---
FieldDescription
titlePage title, displayed in the browser title bar and as the page heading
descriptionPage description, used for SEO and page summary
dateDate when the article was created
lastmodLast modified date
weightSorting weight in the sidebar, smaller numbers appear first

Deca Parameters

---
title: "This is a very long page title that looks crowded in the sidebar"
params:
  sidebar_label: "Short Label"
  collapsed: true
---
FieldDescriptionDefault
sidebar_labelCustom label for sidebar display, used when the title is too longNone
collapsedControls whether this page is collapsed in the sidebarNone