.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 Apr 23, 2018 12:54 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

Whitespace chomping inside shortcodes

(Last modified on Mon Apr 23, 2018)

Use of whitespace chomping braces in shortcodes.

BaseURLs with subdirs and absURL/relURL

(Last modified on Thu Apr 12, 2018)

Discussion Test Site Description Link Test site with baseURL with subdir – canonifyURLs = false (default) https://hugo-sandbox.netlify.com/subdir-canonify-false/ Test site with baseURL with subdir – canonifyURLs = true https://hugo-sandbox.netlify.com/subdir-canonify-true/

A Project Foo post

(Last modified on Wed Mar 21, 2018)

This is a post for project foo.

Casing of Front-matter Keys (Regular Page)

(Last modified on Wed Mar 14, 2018)

This is a regular page. Discussion

Casing of Front-matter Keys (Leaf Bundle)

(Last modified on Wed Mar 14, 2018)

This is a leaf bundle Index page. Discussion

Page Kinds

(Last modified on Mon Mar 12, 2018)

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.

Search

(Last modified on Fri Mar 9, 2018)

Results from static site search implemented using Fusejs, jquery and mark.js. – Source

Custom date key in front-matter

(Last modified on Thu Mar 1, 2018)

Reference

Image captions with Markdown

(Last modified on Tue Feb 13, 2018)

Log buffer for `gohugoio/hugo/tpl/tplimpl/template_embedded.go` created by **Magit** on doing `M-x magit-log-buffer-file` References Thread on Hugo Discourse hugo PR #4405 hugo Issue #4406

Page Bundles

(Last modified on Fri Feb 2, 2018)

Content organization using Page Bundles


SiteInfo (Debug)

SiteInfo VariableValue
Title "Hugo Sandbox"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
gitlabstring "kaushalmodi"
LastChange 2018-04-23 08:54:06 -0400 -0400
DisqusShortname ""
GoogleAnalytics ""
Copyright ""
RSSLink "https://hugo-sandbox.netlify.com/index.xml"
LanguageCode "en-us"
BuildDrafts false
Params
KeyTypeValue
descriptionstring "Sandbox site to test out Hugo features and bugs (and bug fixes)."
faviconstring "<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">\n<link rel=\"manifest\" href=\"/manifest.json\">\n<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#5bbad5\">\n<meta name=\"theme-color\" content=\"#ffffff\">\n"
footerstring "<p>\n [<a href=\"/\">Back to Hugo Sandbox home</a>]\n</p>\n"
introstring "This is an <b>unofficial</b> Hugo <i>sandbox</i> site to try to replicate possible bugs in\n<a href=\"https://gohugo.io\"> <b>hugo</b></a>.\n"
mainSections[]string "posts"
mainsections[]string "posts"
sourcemap[string]interface {}
KeyTypeValue
md_dirstring "content"
org_dirstring "content-org"
urlstring "https://gitlab.com/kaushalmodi/hugo-sandbox"

File Object (Debug)

FileInfo VariableValue
UniqueID "3976528693a0108357f4928017600865"
BaseFileName "_index"
TranslationBaseName "_index"
Lang "en"
Section ""
LogicalName "_index.md"
Dir ""
Ext "md"
Path "_index.md"

Menu (Debug)

KeyTypeValue
0.search*hugolib.Menu
MenuEntry VariableValue
Menu "0.search"
Title "Click to Search"
Name "Search"
URL "/search/"
Identifier "search"
Weight 2001
Pre ""
Post ""
Parent ""
Children
auto weight*hugolib.Menu
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1 (HUGO_MENU as keyword)"
Name "Post with menu 1 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-1/"
Identifier "post-with-menu-1--hugo-menu-as-keyword"
Weight 1001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2 (HUGO_MENU as keyword)"
Name "Post with menu 2 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-2/"
Identifier "post-with-menu-2--hugo-menu-as-keyword"
Weight 1002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3 (HUGO_MENU as keyword)"
Name "Post with menu 3 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-3/"
Identifier "post-with-menu-3--hugo-menu-as-keyword"
Weight 1003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4 (HUGO_MENU as keyword)"
Name "Post with menu 4 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-4/"
Identifier "post-with-menu-4--hugo-menu-as-keyword"
Weight 1004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5 (HUGO_MENU as keyword)"
Name "Post with menu 5 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-5/"
Identifier "post-with-menu-5--hugo-menu-as-keyword"
Weight 1005
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1"
Name "Post with menu 1"
URL "/posts/post-with-menu-1/"
Identifier "post-with-menu-1"
Weight 4001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2"
Name "Post with menu 2"
URL "/posts/post-with-menu-2/"
Identifier "post-with-menu-2"
Weight 4002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3"
Name "Post with menu 3"
URL "/posts/post-with-menu-3/"
Identifier "post-with-menu-3"
Weight 4003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4"
Name "Post with menu 4"
URL "/posts/post-with-menu-4/"
Identifier "post-with-menu-4"
Weight 4004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5"
Name "Post with menu 5"
URL "/posts/post-with-menu-5/"
Identifier "post-with-menu-5"
Weight 4005
Pre ""
Post ""
Parent ""
Children
docs*hugolib.Menu
MenuEntry VariableValue
Menu ""
Title ""
Name "content-management"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "docs"
Title "Page Bundles"
Name "Page Bundles"
URL "/hugodocs/content-management/page-bundles/"
Identifier "page-bundles"
Weight 11
Pre ""
Post ""
Parent "content-management"
Children
main*hugolib.Menu
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "main"
Title "Menu Meta Data in YAML Front Matter"
Name "Menu Meta Data in YAML Front Matter"
URL "/posts/menu-meta-data-yaml/"
Identifier "yaml-menu-override"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
MenuEntry VariableValue
Menu "main"
Title "White space in menu name"
Name "Menu in YAML"
URL "/posts/menu-meta-data-yaml3/"
Identifier "white-space-in-menu-name"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
something here*hugolib.Menu
MenuEntry VariableValue
Menu "something here"
Title "White space in menu entry"
Name "White space in menu entry"
URL "/posts/menu-meta-data-yaml2/"
Identifier "white-space-in-menu-entry"
Weight 25
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "something here"
Title "Overriding few menu properties"
Name "Overriding few menu properties"
URL "/posts/menu-alist-meta-data-toml-override-partial/"
Identifier "ov-partial"
Weight 10
Pre ""
Post ""
Parent "posts"
Children
test*hugolib.Menu
MenuEntry VariableValue
Menu "test"
Title "Overriding menu properties completely"
Name "Overriding menu properties completely"
URL "/posts/menu-alist-meta-data-toml-override-full/"
Identifier "overriding-menu-properties-completely"
Weight 50
Pre ""
Post ""
Parent ""
Children

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.41-DEV (commit 44e47478, using Chroma commit 222a1f0) .

[Back to Hugo Sandbox home]