karsttech.com/themes/congo-146_fix/exampleSite/content/samples/rich-content/index.zh-Hans.md

24 lines
857 B
Markdown
Raw Normal View History

---
title: "富文本"
date: 2019-03-10
description: "富文本的简介"
summary: "这是一个 _富_ 文本的 _简介_ "
coverAlt: "一个示例封面图片,描绘了一些知名媒体机构的图标。"
coverCaption: "这是一个带有说明的封面图片示例。"
tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"]
---
Hugo包含了多个[内置短代码](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes)以支持丰富的内容,同时还提供了[隐私配置](https://gohugo.io/about/hugo-and-gdpr/)和一组 _简单短代码_用于启用各种社交媒体嵌入的静态和无JS版本。
## YouTube
以下是使用内置的 `youtube` 短代码的示例。
{{< youtube ZJthWmvUzzc >}}
## Vimeo
`vimeo_simple` 短代码将嵌入Vimeo视频。
{{< vimeo_simple 48912912 >}}