URL Front-matter
tags: front-matter url
Description/Summary
The url front-matter is used to specify the full path to the content from the web root. It makes no assumptions about the path of the content file. It also ignores any language prefixes of the multilingual feature. Reference
Content
The url
front-matter is used to specify the full path to the
content from the web root. It makes no assumptions about the path of
the content file. It also ignores any language prefixes of the
multilingual feature.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "URL Front-matter" | |
Title | "URL Front-matter" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/foo/bar/zoo/url-front-matter/" | |
RelPermalink | "/foo/bar/zoo/url-front-matter/" | |
Data |
| |
NextPage | Url encoding in links | |
PrevPage | Using empty EXPORT_HUGO_SECTION | |
NextInSection | Url encoding in links | |
PrevInSection | Using Org macros in lieu of Hugo shortcodes |
Page Params (Debug)
Key | Type | Value |
---|---|---|
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2018-02-06 18:15:47 -0500 -0500 |
tags | []string | "front-matter" "url" |
title | string | "URL Front-matter" |
url | string | "foo/bar/zoo/url-front-matter" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "8b0a2b332e68761f815e0b9b4a5c871e" |
BaseFileName | "url-front-matter" |
TranslationBaseName | "url-front-matter" |
Lang | "en" |
Section | "posts" |
LogicalName | "url-front-matter.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/url-front-matter.md" |