Files
hugo-profile/exampleSite/content/blog/rich-content.md
T
2022-02-09 19:33:39 +05:30

52 lines
944 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 GoHugoIO 1315233626070503424 */>}}
```
<br>
{{< tweet GoHugoIO 1315233626070503424 >}}
<br>
## Vimeo Simple Shortcode
```
{{</* vimeo 146022717 */>}}
```
<br>
{{< vimeo 146022717 >}}
<br>
## Youtube Simple Shortcode
```
{{</* youtube w7Ft2ymGmfc */>}}
```
<br>
{{< youtube w7Ft2ymGmfc >}}
<br>