50 lines
919 B
Markdown
50 lines
919 B
Markdown
+++
|
|
author = "Hugo Authors"
|
|
title = "Rich Content"
|
|
date = "2019-03-10"
|
|
description = "A brief description of Hugo Shortcodes"
|
|
tags = [
|
|
"shortcodes",
|
|
"privacy",
|
|
]
|
|
asciinema = true
|
|
+++
|
|
|
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
|
<!--more-->
|
|
---
|
|
|
|
## Github gist Shortcode
|
|
|
|
{{< gist tomowang c29ef5bfc7eac018edc6307a43ffbf3d >}}
|
|
|
|
## YouTube Privacy Enhanced Shortcode
|
|
|
|
{{< youtube ms32oqonz04 >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Twitter Simple Shortcode
|
|
|
|
{{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Vimeo Simple Shortcode
|
|
|
|
{{< vimeo_simple 48912912 >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## BiliBili Simple Shortcode
|
|
|
|
{{< bilibili BV1kE41147oo >}}
|
|
|
|
<br>
|