Replace only "linkTitle" key
tags: front-matter keys replace linktitle
Description/Summary
This post will have the linkTitle key in front-matter replaced with linktitle.
Content
This post will have the linkTitle
key in front-matter replaced with
linktitle
.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | " Replace only \"linkTitle\" key\n " | |
Title | " Replace only \"linkTitle\" key\n " | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/replace-only-linktitle-key/" | |
RelPermalink | "/posts/replace-only-linktitle-key/" | |
Data |
| |
NextPage | Replace only "categories" key | |
PrevPage | Replace only "tags" key | |
NextInSection | Replace only "categories" key | |
PrevInSection | Replace only "tags" key |
Page Params (Debug)
Key | Type | Value |
---|---|---|
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-05-03 00:48:15 -0400 -0400 |
linktitle | string | " Replace only \"linkTitle\" key\n " |
tags | []string | "front-matter" "keys" "replace" "linktitle" |
title | string | " Replace only \"linkTitle\" key\n " |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "3fcb07616d3820aa4b248c271c32cad3" |
BaseFileName | "replace-only-linktitle-key" |
TranslationBaseName | "replace-only-linktitle-key" |
Lang | "en" |
Section | "posts" |
LogicalName | "replace-only-linktitle-key.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/replace-only-linktitle-key.md" |