.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 Mar 05, 2024 19:24 UTC.


This page was created/modified in commit dffb7e9 "Rewrite org-hugo--sanitize-title; make it more robust" on 2017-12-20.
Markdown source of this page

ndash `and` mdash

tags: body


Description/Summary

The strings in these two columns should look the exact same. Character Rendered Actual Rendered Expection 1 Hyphen a - b a - b 2 Ndash a – b a – b 3 Mdash a — b a — b 4 Ellipsis a … b a … b Title sanitization # This post has italics, monospace and bold in the title. This is to test that those markup characters do not end up in the title front matter of the post because HTML does not allow markup in the <title> section.


Content

The strings in these two columns should look the exact same.

Character Rendered Actual Rendered Expection
1 Hyphen a - b a - b
2 Ndash a – b a – b
3 Mdash a — b a — b
4 Ellipsis a … b a … b

Title sanitization #

This post has italics, monospace and bold in the title. This is to test that those markup characters do not end up in the title front matter of the post because HTML does not allow markup in the <title> section.

So the title of this post should read as “ndash and mdash”.


Page (Debug)

Page VariableValue
Name "ndash `and` mdash"
Title "ndash `and` mdash"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/ndash-and-mdash/"
RelPermalink "/posts/ndash-and-mdash/"
Data
page.Data{} (type:page.Data)
NextPageCustom front matter in one line
PrevPageNested bold and italics
NextInSectionCustom front matter in one line
PrevInSectionNested bold and italics

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-07-22 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-12-20 11:23:56 -0500 -0500
publishdatetime.Time 2017-07-22 00:00:00 +0000 UTC
tags[]string "body"
titlestring "ndash `and` mdash"

File Object (Debug)

FileInfo VariableValue
UniqueID "6d77d4071c64a383cccc2423e5b4db7b"
BaseFileName "ndash-and-mdash"
TranslationBaseName "ndash-and-mdash"
Lang "en"
Section "posts"
LogicalName "ndash-and-mdash.md"
Dir "posts/"
Ext "md"
Path "posts/ndash-and-mdash.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]