mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-14 21:43:12 +00:00
34 lines
987 B
Markdown
34 lines
987 B
Markdown
---
|
|
author: "Hugo Authors"
|
|
title: "Rich Content"
|
|
date: 2021-07-13
|
|
description: "A brief description of Hugo Shortcodes"
|
|
tags: ["shortcodes", "privacy"]
|
|
thumbnail: img/flowers.jpg # https://picsum.photos/id/106/2592/1728
|
|
credits: Photo by <a href="https://unsplash.com/@flutterhappy">Arvee Marie</a> on <a href="https://unsplash.com/photos/YnfGtpt2gf4">Unsplash</a>
|
|
---
|
|
|
|
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-->
|
|
|
|
## YouTube Privacy Enhanced Shortcode
|
|
|
|
{{< youtube id="ZJthWmvUzzc" class="video">}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Twitter Simple Shortcode
|
|
|
|
{{< twitter_simple user="SanDiegoZoo" id="1453110110599868418" >}}
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
## Vimeo Simple Shortcode
|
|
|
|
{{< vimeo_simple id="48912912" class="__h_video" >}}
|