Contents

Hugo Blog CheatSheet

Create new post

hugo new posts/new.md

Add a picture

  1. Basic markdown

    ![<alt name](< The route start from static folder>)

  2. hugo build-in shortcut –> figure (src is start from static folder)

    \{\{< figure src="" title="" >}}

Documentation of ref and relref

1
2
\[Neat](\{\{< ref "blog/neat.md" >}})
\[Who](\{\{< relref "about.md#who" >}})

Theme feature

This theme extended short code. See Theme Documentation - Extended Shortcodes

admonition

1
2
3
< admonition type=note title="Here is title" open=true >
Here is text content
< /admonition >

note (default type)
Here is text content
abstract
A abstract banner
info
A info banner
Tip
A tip banner
success
A success banner
question
A question banner
warning
A warning banner
failure
A failure banner
danger
A danger banner
bug
A bug banner
example
A example banner
quote
A quote banner