Priority systen
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title = "Frontmatter"
|
||||
priority = 4
|
||||
---
|
||||
# Frontmatter
|
||||
|
||||
@@ -12,6 +13,7 @@ date = "2026-03-23 11:32"
|
||||
draft = false
|
||||
description = "A short page summary"
|
||||
tags = "example, tutorial"
|
||||
priority = 10
|
||||
---
|
||||
```
|
||||
- `title` - overrides the page title, post name in index links, and RSS `<title>`.
|
||||
@@ -20,3 +22,4 @@ tags = "example, tutorial"
|
||||
- `description` - page description, used for Open Graph `og:description` meta tag.
|
||||
- `tags` - comma separated list of tags. Used for tag index generation when `generate_tags` is enabled in `site.conf`.
|
||||
- `content_warning` - if set, creates an interstitial warning page that the user must click through. If set to `true` uses a generic warning, otherwise uses your string.
|
||||
- `priority` - numeric value for ordering. Lower values sort first in the sidebar and directory indexes. Falls back to alphabetical/date ordering when not set or when items share the same priority.
|
||||
|
||||
Reference in New Issue
Block a user