From bf692c9842fb42734063f7ab0ecc59333bf62547 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 9 Jun 2024 18:55:42 -0700 Subject: [PATCH] Order all pages by weight, date, title --- README.md | 5 - exampleSite/content/content/alert.md | 2 +- exampleSite/content/content/emoji-support.md | 2 +- exampleSite/content/content/link.md | 2 +- .../content/content/markdown-syntax.md | 2 +- .../content/content/math-typesetting.md | 2 +- .../content/content/placeholder-text.md | 2 +- exampleSite/content/content/rich-content.md | 2 +- exampleSite/content/content/video.md | 2 +- exampleSite/content/customization/_index.md | 2 - exampleSite/content/customization/show.md | 4 +- exampleSite/content/customization/style.md | 6 +- .../layouts/partials/paige/style-first.css | 1 - i18n/de.yaml | 3 - i18n/en.yaml | 3 - i18n/zh.yaml | 3 - layouts/partials/paige/page.html | 3 +- layouts/partials/paige/pages.html | 190 ++++++++++-------- 18 files changed, 118 insertions(+), 118 deletions(-) diff --git a/README.md b/README.md index e13b8679..4215b228 100644 --- a/README.md +++ b/README.md @@ -297,9 +297,6 @@ Parameters specific to pages: ```toml link = "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title -[paige] -pin = true # Order this page before the rest - [paige.alert] message = "Alert!" # Markdown displayed before the page body type = "primary" # Bootstrap alert class @@ -943,8 +940,6 @@ Page and sub-page classes:
The authors.
.paige-date
The date.
-
.paige-date-header
-
The date headers.
.paige-description
The description.
.paige-keyword
diff --git a/exampleSite/content/content/alert.md b/exampleSite/content/content/alert.md index 8743e25d..82cedd87 100644 --- a/exampleSite/content/content/alert.md +++ b/exampleSite/content/content/alert.md @@ -9,7 +9,7 @@ paige: type: "primary" tags: ["alerts"] title: "Alert" -weight: 60 +weight: 30 --- This page has the following parameters: diff --git a/exampleSite/content/content/emoji-support.md b/exampleSite/content/content/emoji-support.md index 4d239228..9fd83027 100644 --- a/exampleSite/content/content/emoji-support.md +++ b/exampleSite/content/content/emoji-support.md @@ -5,7 +5,7 @@ date: "2023-09-18T21:32:40-07:00" description: "Guide to emoji usage in Hugo." tags: ["emoji"] title: "Emoji Support" -weight: 50 +weight: 40 ---