Date and slug inheritance (English)
tags: inheritance date slug
Description/Summary
Date and slug inheritance is useful when you want to use the same data and slug for multiple posts, but in different languages. Spanish version
Content
Date and slug inheritance is useful when you want to use the same data and slug for multiple posts, but in different languages.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Date and slug inheritance (English)" | |
Title | "Date and slug inheritance (English)" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/en/date-and-slug-inheritance/" | |
RelPermalink | "/posts/en/date-and-slug-inheritance/" | |
Data |
| |
NextPage | Header image using Resources | |
PrevPage | Date and slug inheritance (Spanish) | |
NextInSection | Header image using Resources | |
PrevInSection | Date and slug inheritance (Spanish) |
Page Params (Debug)
Key | Type | Value |
---|---|---|
date | time.Time | 2018-02-12 00:00:00 +0000 UTC |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2021-12-17 16:20:47 -0500 -0500 |
publishdate | time.Time | 2018-02-12 00:00:00 +0000 UTC |
slug | string | "date-and-slug-inheritance" |
tags | []string | "inheritance" "date" "slug" |
title | string | "Date and slug inheritance (English)" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "de1585f929b125dd87fa7197b24e1389" |
BaseFileName | "date-and-slug-inheritance.en" |
TranslationBaseName | "date-and-slug-inheritance" |
Lang | "en" |
Section | "posts" |
LogicalName | "date-and-slug-inheritance.en.md" |
Dir | "posts/en/" |
Ext | "md" |
Path | "posts/en/date-and-slug-inheritance.en.md" |