.Kind (home): .Type (page) / .Layout ()
Bundle: branch
[ 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 Oct 09, 2018 14:48 UTC.


This page was created/modified in commit cf4db09 "Add image credit, caption and creator in front-matter" on 2018-03-21.
Markdown source of this page

Featured/Header Image

Generated in emacs (Credit: meme.el)
KeyTypeValue
captionstring "Generated in emacs"
creditstring "meme.el"
sizeint64 600
urlstring "https://github.com/larsmagne/meme"

Content

content/
 - _index.md
 - homebranchbundle-featured.png
Kind Description Example
home The home page /index.html
page A page showing a regular page my-post page (/posts/my-post/index.html)
section A page listing regular pages from a given section posts section (/posts/index.html)
taxonomy A page listing regular pages from a given taxonomy term page for the term awesome from tags taxonomy (/tags/awesome/index.html)
taxonomyTerm A page listing terms from a given taxonomy page for the tags taxonomy (/tags/index.html)


Resources

Source block with list syntax in a list

(Last modified on Thu Nov 2, 2017)

As of today (<2017-08-02 Wed>), an upstream bug in Blackfriday (Issue #239) causes fenced code blocks in lists to not render correctly if they contain Markdown syntax lists. Below is an example of such a case: List item 1 ​- List item 1.1 in code block​- List item 1.2 in code block List item 2 ​+ List item 2.1 in code block​+ List item 2.2 in code block List item 3

Source block with list syntax but not in a list

(Last modified on Thu Nov 2, 2017)

- list 1

One verse

(Last modified on Thu Nov 2, 2017)

To preserve the line breaks, indentation and blank lines in a region, but otherwise use normal formatting, you can use the verse construct, which can also be used to format poetry – Reference. Great clouds overhead Tiny black birds rise and fall Snow covers Emacs     – AlexSchroeder

Force ordered list numbering

(Last modified on Thu Nov 2, 2017)

This will be 1. This will be 2. This will be 10! This will be 11. This will be 17! This will be 18. This will be 123! This will be 124. This will be 1 again. This will be 2. Another example: This will be 1. This will be 3! This will be 7! This will be 100! See (org) Plain lists to read more about plain lists in Org.

Consecutive verses

(Last modified on Thu Nov 2, 2017)

Tyger Tyger, burning bright, In the forests of the night; What immortal hand or eye, Could frame thy fearful symmetry? In what distant deeps or skies. Burnt the fire of thine eyes? On what wings dare he aspire? What the hand, dare seize the fire?    – “The Tyger” by William Blake Some parts can be bold   Some can be monospace     Some can be italic too. What is this life if, full of care,

Consecutive quotes

(Last modified on Thu Nov 2, 2017)

Some text. Quote 1. This is a long quote that auto-fills into multiple lines in Org, but it will be a single paragraph in the exported format. Quote 2. This is a short quote. Quote 3. This is a multi-paragraph quote. This is the second paragraph. Some other text.

Hard line break (YAML)

(Last modified on Thu Nov 2, 2017)

a b c Above, a, b and c must appear on separate lines.

Enabling/Disabling extensions (YAML)

(Last modified on Thu Nov 2, 2017)

Extensions enabled: tabSizeEight, hardLineBreak Extensions disabled: fencedCode, strikethrough Angled quotes enabled «this» Hard line break enabled a b c Plain ID Anchors disabled Check the ID for all the headings in this post’s HTML. The ID’s will look something like: html <h2 id="plain-id-anchors-disabled:c94b2acd735ed6a466ef85be48bdea8c">Plain ID Anchors disabled</h2> where :c94b2acd735ed6a466ef85be48bdea8c is the document ID. Fractions disabled 2/5 Smart dashes disabled a--b c--d Fenced code disabled Below, the code block language name will show up before the code.

Enabling/Disabling extensions (TOML)

(Last modified on Thu Nov 2, 2017)

Extensions enabled: tabSizeEight, hardLineBreak Extensions disabled: fencedCode, strikethrough Angled quotes enabled «this» Hard line break enabled a b c Plain ID Anchors disabled Check the ID for all the headings in this post’s HTML. The ID’s will look something like: html <h2 id="plain-id-anchors-disabled:c94b2acd735ed6a466ef85be48bdea8c">Plain ID Anchors disabled</h2> where :c94b2acd735ed6a466ef85be48bdea8c is the document ID. Fractions disabled 2/5 Smart dashes disabled a--b c--d Fenced code disabled Below, the code block language name will show up before the code.

Checklist

(Last modified on Thu Nov 2, 2017)

This is a check-list: Checklist 1 [60%] Checklist showing progress in percentage. Task 1 Task 2 Task 3 Task 4 Task 5 Checklist 2 [2/5] Checklist showing progress in ratio. Task 1 Task 2 Task 3 Task 4 Task 5


This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.50-DEV (commit d5d50e2f, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]