d75dbe2b6e
* fix: copy code button does not work when line number is enabled * fix pre style * Add gist shortcode to exampleSite
42 lines
829 B
Markdown
42 lines
829 B
Markdown
+++
|
|
author = "Hugo Authors"
|
|
title = "Rich Content"
|
|
date = "2019-03-10"
|
|
description = "A brief description of Hugo Shortcodes"
|
|
tags = [
|
|
"shortcodes",
|
|
"privacy",
|
|
]
|
|
+++
|
|
|
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-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-->
|
|
---
|
|
|
|
## YouTube Privacy Enhanced Shortcode
|
|
|
|
{{< youtube ZJthWmvUzzc >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Twitter Simple Shortcode
|
|
|
|
{{< twitter_simple 1085870671291310081 >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Vimeo Simple Shortcode
|
|
|
|
{{< vimeo_simple 48912912 >}}
|
|
|
|
## bilibilibi Shortcode
|
|
|
|
{{< bilibili av498363026 >}}
|
|
|
|
## Gist Shortcode
|
|
|
|
{{< gist spf13 7896402 >}} |