+++ title = 'Post template' date = 2026-10-24 description = 'A reference post covering the Markdown elements available on the blog.' draft = true
tags = ['hugo', 'reference']
summary = 'Set a custom summary here, otherwise Hugo uses the first paragraph.'
+++
This is a reference post for the elements used on the blog. Replace this paragraph with the actual introduction.
<!--more-->A section heading
A regular paragraph with bold text, italic text, inline code, and a
link to the Hugo documentation.
A smaller heading
- First item
- Second item
- Nested item
- Third item
- First step
- Second step
- Third step
A blockquote for pulling out a sentence that matters.
Code
A shell example:
hugo server --buildDrafts
A Go example:
package main
import "fmt"
func main() {
fmt.Println("hello, cabotiá")
}
Table
| Element | Purpose |
|---|---|
| Heading | Break the post into sections |
| List | Group related items |
| Code | Show commands or snippets |
| Quote | Highlight a single sentence |
Image
Closing
That is the whole template. Copy this file, change the front matter, and replace the body with the actual post.
The <!--more--> marker above the first heading sets the teaser shown on the
blog index. Without it, Hugo falls back to the first paragraphs or to the
summary value in the front matter.