Replace "description" with "summary"
tags: front-matter keys replace description summary
Description/Summary
This should be rendered as .Summary in Hugo v0.55+. For only Hugo
versions, this will front-matter can be retrieved only as
.Params.summary.
Content
This text will be in the post body.
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | " Replace \"description\" with \"summary\"\n " | |
| Title | " Replace \"description\" with \"summary\"\n " | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/replace-description-with-summary/" | |
| RelPermalink | "/posts/replace-description-with-summary/" | |
| Data | 
 | |
| NextPage | ||
| PrevPage | Replace both "tags" and "categories" keys | |
| NextInSection | ||
| PrevInSection | Replace both "tags" and "categories" keys | 
Page Params (Debug)
| Key | Type | Value | 
|---|---|---|
| draft | bool | false | 
| iscjklanguage | bool | false | 
| lastmod | time.Time | 2022-05-03 00:48:15 -0400 -0400 | 
| summary | string | " This should be rendered as `.Summary` in Hugo v0.55+. For only Hugo\n versions, this will front-matter can be retrieved only as\n `.Params.summary`.\n " | 
| tags | []string | "front-matter" "keys" "replace" "description" "summary" | 
| title | string | " Replace \"description\" with \"summary\"\n " | 
File Object (Debug)
| FileInfo Variable | Value | 
|---|---|
| UniqueID | "82ecd8f59bc6e67cc2fe468cac3e39e6" | 
| BaseFileName | "replace-description-with-summary" | 
| TranslationBaseName | "replace-description-with-summary" | 
| Lang | "en" | 
| Section | "posts" | 
| LogicalName | "replace-description-with-summary.md" | 
| Dir | "posts/" | 
| Ext | "md" | 
| Path | "posts/replace-description-with-summary.md" |