Replace both "tags" and "categories" keys
Description/Summary
This post will have the tags key in front-matter replaced with keywords and categories replaced with cats.
Content
This post will have the tags
key in front-matter replaced with
keywords
and categories
replaced with cats
.
Page (Debug)
Page Params (Debug)
Key | Type | Value |
cats | []string |
"test-cat-x"
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
keywords | []string |
"front-matter"
"keys"
"replace"
"tags"
"categories"
|
lastmod | time.Time |
2022-05-03 00:48:15 -0400 -0400
|
title | string |
" Replace both \"tags\" and \"categories\" keys\n "
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"d177066587283a42bbd1ba152da6b68d"
|
BaseFileName |
"replace-both-tags-and-categories-keys"
|
TranslationBaseName |
"replace-both-tags-and-categories-keys"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"replace-both-tags-and-categories-keys.md"
|
Dir |
"posts/"
|
Ext |
"md"
|
Path |
"posts/replace-both-tags-and-categories-keys.md"
|