mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
---
|
|
author: ["Hugo Authors", "PaperMod Contributors"]
|
|
title: "Rich Content and Shortcodes"
|
|
date: "2019-03-10"
|
|
description: "A brief description of Hugo Shortcodes"
|
|
tags: ["markdown", "shortcodes", "privacy"]
|
|
ShowToc: 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-->
|
|
|
|
---
|
|
|
|
## Figure Shortcode ([PaperMod enhanced](https://github.com/adityatelange/hugo-PaperMod/commits/master/layouts/shortcodes/figure.html))
|
|
|
|
{{< figure src="https://source.unsplash.com/Z0lL0okYjy0" attr="Photo by [Aditya Telange](https://unsplash.com/@adityatelange?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash) on [Unsplash](https://unsplash.com/photos/Z0lL0okYjy0?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash)" align=center link="https://unsplash.com/photos/Z0lL0okYjy0" target="_blank" >}}
|
|
|
|
---
|
|
|
|
## YouTube
|
|
|
|
{{< youtube hjD9jTi_DQ4 >}}
|
|
|
|
---
|
|
|
|
## Twitter Shortcode
|
|
|
|
{{< twitter adityatelange 1724414854348357922 >}}
|
|
|
|
---
|
|
|
|
## Vimeo Shortcode
|
|
|
|
{{< vimeo 152985022 >}}
|