Alias without section portion 1
tags: front-matter aliases
Description/Summary
As the specified alias does not contain the “/” string, it will be auto-prefixed with the section for the current post.
Content
As the specified alias does not contain the “/” string, it will be auto-prefixed with the section for the current post.
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Alias without section portion 1" | |
| Title | "Alias without section portion 1" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/alias-without-section-1/" | |
| RelPermalink | "/posts/alias-without-section-1/" | |
| Data |
| |
| NextPage | Alias specifying root section | |
| PrevPage | Alias without section portion 2 | |
| NextInSection | Alias specifying root section | |
| PrevInSection | Attempt to replace non-existing keys |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| aliases | []string | "/posts/alias-a" |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2017-12-01 16:08:50 -0500 -0500 |
| tags | []string | "front-matter" "aliases" |
| title | string | "Alias without section portion 1" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "e81c9d7f5afff03c4ad4586bab942b28" |
| BaseFileName | "alias-without-section-1" |
| TranslationBaseName | "alias-without-section-1" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "alias-without-section-1.md" |
| Dir | "posts/" |
| Ext | "md" |
| Path | "posts/alias-without-section-1.md" |