52 lines
924 B
Markdown
52 lines
924 B
Markdown
---
|
|
title: "Rich Content"
|
|
date: 2021-04-03T19:53:33+05:30
|
|
draft: false
|
|
author: "Gurusabarish"
|
|
tags:
|
|
- Rich content
|
|
bg_image: ""
|
|
description: ""
|
|
toc:
|
|
---
|
|
|
|
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.
|
|
|
|
## Gist Simple Shortcode
|
|
```
|
|
{{</* gist spf13 7896402 "img.html" */>}}
|
|
```
|
|
<br>
|
|
{{< gist spf13 7896402 "img.html" >}}
|
|
<br>
|
|
|
|
|
|
|
|
## Twitter Simple Shortcode
|
|
```
|
|
{{</* tweet 877500564405444608 */>}}
|
|
```
|
|
<br>
|
|
{{< tweet 877500564405444608 >}}
|
|
<br>
|
|
|
|
|
|
|
|
## Vimeo Simple Shortcode
|
|
```
|
|
{{</* vimeo 146022717 */>}}
|
|
```
|
|
<br>
|
|
{{< vimeo 146022717 >}}
|
|
<br>
|
|
|
|
|
|
|
|
## Youtube Simple Shortcode
|
|
```
|
|
{{</* youtube w7Ft2ymGmfc */>}}
|
|
```
|
|
<br>
|
|
{{< youtube w7Ft2ymGmfc >}}
|
|
<br>
|