Salta al contenuto principale
  1. Campioni/

Rich Content

1 minuto·
shortcodes privacy sample gist twitter youtube vimeo
Blowfish
Autore
Blowfish
Un potente, leggero tema per Hugo.
Indice dei contenuti

Hugo ships with several built-in shortcodes for rich content, along with a privacy config and a set of simple shortcodes that enable static and no-JS versions of various social media embeds.

YouTube
#

Below is an example using the built-in youtube shortcode.

Twitter
#

This example uses the twitter_simple shortcode to output a Tweet. It requires two named parameters user and id.

Alternatively, the tweet shortcode can be used to embed a fully marked up Twitter card.

Gist
#

The gist shortcode can be used to embed a GitHub Gist. It requires two unnamed parameters: the username and ID of the Gist.

Vimeo
#

The vimeo_simple shortcode will embed a Vimeo video.

Sing Jan Swing - Kinetic Type

Related

Mathematical notation
1 minuto
sample katex maths shortcodes
Charts
1 minuto
chart sample graph shortcodes
Diagrams and Flowcharts
2 minuti
mermaid sample diagram shortcodes
Placeholder Text
·2 minuti
markdown text sample latin
Emoji 🪂
1 minuto
emoji sample
Partials
5 minuti
partials analytics privacy comments favicons icon docs