.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 Jul 09, 2019 14:06 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

Audio widget 1

(Last modified on Mon Oct 8, 2018)

Audio credit

Second Article

(Last modified on Tue Sep 25, 2018)

Content of Second Article. This has to be a Leaf bundle (index, not _index).

Second Article

(Last modified on Tue Sep 25, 2018)

Content of Second Article. This has to be a Leaf bundle (index, not _index).

First Article

(Last modified on Tue Sep 25, 2018)

Content of First Article. This has to be a Leaf bundle (index, not _index).

First Article

(Last modified on Tue Sep 25, 2018)

Content of First Article. This has to be a Leaf bundle (index, not _index).

Second Article

(Last modified on Tue Sep 25, 2018)

Content of Second Article. This has to be a Leaf bundle (index, not _index).

First Article

(Last modified on Tue Sep 25, 2018)

Content of First Article. This has to be a Leaf bundle (index, not _index).

Accessing page param

(Last modified on Tue Sep 25, 2018)

Testing a Page Param with first letter uppercase.

Notes on HEP course

(Last modified on Tue Aug 7, 2018)

Nuclear Physics Stable nuclei, Nomenclature and units Atomic scale is 10-10m, nuclear scale is 10-15m. For convinience we use the unit fermi (fm) = 10-15m. Nuclear sizes range from 1 fm to 7 fm. Particle physics usually happens at an even smaller scale <-15m. A nuclear species or nuclide is denoted by \(^A_ZX_N\). Here, X is the chemical symbol. Z is the atomic number: the number of protons. A is the mass number: the integer nearest to the ratio between the nuclear mass and the fundamental mass unit (1⁄12 th of mass of \(^{12}_6C\)).

Pages vs Site Pages

(Last modified on Tue Aug 7, 2018)

Variable Current context Pages included .Site.Pages any ALL pages of the site: content, sections, taxonomies, etc. – Superset of everything! .Site.RegularPages any Only regular (content) pages – Subset of .Site.Pages .Pages List page Regular pages under that list page representing the homepage, section, taxonomy term (/tags) or taxonomy (/tags/foo) page – Subset of .Site.Pages or .Site.RegularPages, depending on context. .


SiteInfo (Debug)

SiteInfo VariableValue
Title "Hugo Sandbox"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
gitlabstring "kaushalmodi"
LastChange 2018-10-08 16:09:44 -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.searchnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Search"
Menu "0.search"
Identifier "search"
Title "Click to Search"
Pre ""
Post ""
Weight 2001
Parent ""
Children
auto weightnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 1 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-1--hugo-menu-as-keyword"
Title "Post with menu 1 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 2 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-2--hugo-menu-as-keyword"
Title "Post with menu 2 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1002
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 3 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-3--hugo-menu-as-keyword"
Title "Post with menu 3 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1003
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 4 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-4--hugo-menu-as-keyword"
Title "Post with menu 4 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1004
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 5 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-5--hugo-menu-as-keyword"
Title "Post with menu 5 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1005
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 1"
Menu "auto weight"
Identifier "post-with-menu-1"
Title "Post with menu 1"
Pre ""
Post ""
Weight 4001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 2"
Menu "auto weight"
Identifier "post-with-menu-2"
Title "Post with menu 2"
Pre ""
Post ""
Weight 4002
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 3"
Menu "auto weight"
Identifier "post-with-menu-3"
Title "Post with menu 3"
Pre ""
Post ""
Weight 4003
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 4"
Menu "auto weight"
Identifier "post-with-menu-4"
Title "Post with menu 4"
Pre ""
Post ""
Weight 4004
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 5"
Menu "auto weight"
Identifier "post-with-menu-5"
Title "Post with menu 5"
Pre ""
Post ""
Weight 4005
Parent ""
Children
docsnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "content-management"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Page Bundles"
Menu "docs"
Identifier "page-bundles"
Title "Page Bundles"
Pre ""
Post ""
Weight 11
Parent "content-management"
Children
mainnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "posts"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu Meta Data in YAML Front Matter"
Menu "main"
Identifier "yaml-menu-override"
Title "Menu Meta Data in YAML Front Matter"
Pre ""
Post ""
Weight 25
Parent "posts"
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu in YAML"
Menu "main"
Identifier "white-space-in-menu-name"
Title "White space in menu name"
Pre ""
Post ""
Weight 25
Parent "posts"
Children
something herenavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "White space in menu entry"
Menu "something here"
Identifier "white-space-in-menu-entry"
Title "White space in menu entry"
Pre ""
Post ""
Weight 25
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "posts"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Overriding few menu properties"
Menu "something here"
Identifier "ov-partial"
Title "Overriding few menu properties"
Pre ""
Post ""
Weight 10
Parent "posts"
Children
testnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Overriding menu properties completely"
Menu "test"
Identifier "overriding-menu-properties-completely"
Title "Overriding menu properties completely"
Pre ""
Post ""
Weight 50
Parent ""
Children

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.56.0-DEV (commit 5eb33859, using Chroma commit 26f03cb) .

[Back to Hugo Sandbox home]