.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Feb 04, 2019 17:56 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
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.


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://hugo-sandbox.netlify.com/posts/ndash-and-mdash/"
RelPermalink "/posts/ndash-and-mdash/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
NextPageSingle and Double quotes
PrevPageDealing with underscores
NextInSectionSingle and Double quotes
PrevInSectionDealing with underscores

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-07-22 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-11-02 10:12:52 -0400 -0400
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.54-DEV (commit dff8c199, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]