.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

date and publishdate

(Last modified on Fri Jan 26, 2018)

Hugo Issue #2145, Hugo Issue #4323 This post has only the publishdate set in the front-matter, not the date.

Resource Order A

(Last modified on Fri Jan 26, 2018)

Markdown source Source of documents: 1, 2 Ref

Resource Order A (YAML)

(Last modified on Fri Jan 26, 2018)

Markdown source Source of documents: 1, 2 Ref

Resource Order Mutually exclusive

(Last modified on Mon Jan 22, 2018)

Markdown source Source of documents: 1, 2 Ref

Internal shortcode for table

(Last modified on Mon Jan 22, 2018)

a b c d a b c d .toto { border-collapse: collapse; } .toto table, .toto th, .toto td { border: 1px solid black; padding: 15px; text-align: left; } a b c d a b c d .

Resource Order C

(Last modified on Mon Jan 22, 2018)

The only way this would work. @bep As I have mentioned in other placing: There is no merge logic, so the first name, title and params win. So the “solution” is to just put all params specific to a file in the same resources → src block. Markdown source Source of documents: 1, 2 Ref

Resource Order B

(Last modified on Mon Jan 22, 2018)

Markdown source Source of documents: 1, 2 Ref

Globs for subdirs in bundles in resources -> src front-matter 1

(Last modified on Mon Jan 22, 2018)

Test case for Hugo Issue #4295: Images :src "images/copy-of-*.png" — works :src "copy-2-*.png" Summary :src "images/copy-of-*.png" — works (this page) :src "*/copy-of-*.png" — works (here) :src "copy-of-*.png" — does not work (here) :src "**copy-of-*.png" — works (here)

Globs for subdirs in bundles in resources -> src front-matter 3

(Last modified on Mon Jan 22, 2018)

Test case for Hugo Issue #4295: Images :src "copy-of-*.png" — does not work :src "copy-2-*.png" Summary :src "images/copy-of-*.png" — works (here) :src "*/copy-of-*.png" — works (here) :src "copy-of-*.png" — does not work (this page) :src "**copy-of-*.png" — works (here)

Globs for subdirs in bundles in resources -> src front-matter 2

(Last modified on Mon Jan 22, 2018)

Test case for Hugo Issue #4295: Images :src "*/copy-of-*.png" — works :src "copy-2-*.png" Summary :src "images/copy-of-*.png" — works (here) :src "*/copy-of-*.png" — works (this page) :src "copy-of-*.png" — does not work (here) :src "**copy-of-*.png" — works (here)


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]