.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 Feb 04, 2019 17:56 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

Menu Meta Data in YAML Front Matter

(Last modified on Thu Nov 2, 2017)

Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the #+HUGO_FRONT_MATTER_FORMAT keyword. Later only the weight and identifier menu properties are overridden using EXPORT_HUGO_MENU_OVERRIDE key in the property drawer.

Menu Meta Data in TOML Front Matter

(Last modified on Thu Nov 2, 2017)

Testing the addition of menu meta data to the TOML front matter.

White space in menu name

(Last modified on Thu Nov 2, 2017)

Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the HUGO_FRONT_MATTER_FORMAT key in property drawer. Here there is white space in menu name property.

White space in menu entry

(Last modified on Thu Nov 2, 2017)

Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the HUGO_FRONT_MATTER_FORMAT key in property drawer. Here there is white space in menu entry keyword.

Simple

(Last modified on Thu Nov 2, 2017)

This is an example

Image captions

(Last modified on Thu Nov 2, 2017)

Some text before image. A unicorn! Some more text, after image.

Article 2

(Last modified on Thu Nov 2, 2017)

Second article. This will also land in content/articles/ the same way.

Article 1

(Last modified on Thu Nov 2, 2017)

First article. This will land in content/articles/ as the parent of this subtree sets EXPORT_HUGO_SECTION to articles. Note that the theme needs to define at least the single.html, either in the layouts/_default/ directory, or layouts/articles/, either in the Hugo base dir or the theme dir.

Post with menu 5

(Last modified on Thu Nov 2, 2017)

Post with menu 4

(Last modified on Thu Nov 2, 2017)


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]