.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Jun 26, 2022 21:18 UTC.


This page was created/modified in commit 79616a3 "Remove unnecessary org-export-data forms" on 2018-02-06.
Markdown source of this page

Slug Front-matter

tags: front-matter slug


Description/Summary

By default, a page’s slug is the name of the content file (sans extension). So in this case, it would have been slug-front-matter. But that slug is overridden using the specified slug in the front-matter: this-is-how-i-want-to-name-this-link.


Content

By default, a page’s slug is the name of the content file (sans extension). So in this case, it would have been slug-front-matter. But that slug is overridden using the specified slug in the front-matter: this-is-how-i-want-to-name-this-link.


Page (Debug)

Page VariableValue
Name "Slug Front-matter"
Title "Slug Front-matter"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/this-is-how-i-want-to-name-this-link/"
RelPermalink "/posts/this-is-how-i-want-to-name-this-link/"
Data
page.Data{} (type:page.Data)
NextPageSingle-line description with backslashes (YAML)
PrevPageSmart Quotes Disabled
NextInSectionSingle-line description with backslashes (YAML)
PrevInSectionSmart Quotes Disabled

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2018-02-06 18:15:47 -0500 -0500
slugstring "this-is-how-i-want-to-name-this-link"
tags[]string "front-matter" "slug"
titlestring "Slug Front-matter"

File Object (Debug)

FileInfo VariableValue
UniqueID "190a20233f54e2e83042bebe4c0aea66"
BaseFileName "slug-front-matter"
TranslationBaseName "slug-front-matter"
Lang "en"
Section "posts"
LogicalName "slug-front-matter.md"
Dir "posts/"
Ext "md"
Path "posts/slug-front-matter.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]