feat: improve configuration (#245)

* feat: improve configuration

* fix: fix partials/footer.html error
This commit is contained in:
Dillon
2020-04-21 22:55:06 +08:00
committed by GitHub
parent 8a0e61085c
commit f14301c395
62 changed files with 1548 additions and 1669 deletions

View File

@@ -1,38 +1,19 @@
---
weight: 3
title: "Thème Documentation - Built-in Shortcodes"
subtitle: ""
date: 2020-03-04T16:29:59+08:00
lastmod: 2020-03-04T16:29:59+08:00
draft: false
author: "Dillon"
authorLink: "https://dillonzq.com"
description: "Hugo fournit plusieurs shortcodes intégrés pour la commodité de l'auteur et pour garder votre contenu de démarque propre."
license: ""
tags: ["shortcodes"]
categories: ["documentation"]
hiddenFromHomePage: false
featuredImage: "/images/theme-documentation-built-in-shortcodes/featured-image.png"
featuredImagePreview: ""
toc: true
autoCollapseToc: true
math: false
mapbox:
accessToken: ""
lightStyle: ""
darkStyle: ""
navigation: true
geolocate: true
scale: true
fullscreen: true
lightgallery: true
linkToMarkdown: true
share:
enable: true
comment: true
---
**Hugo** fournit plusieurs shortcodes intégrés pour la commodité de l'auteur et pour garder votre contenu de démarque propre.
@@ -53,7 +34,7 @@ A shortcode is a simple snippet that can generate reasonable HTML code and confo
Hugo ships with a set of predefined shortcodes that represent very common usage. These shortcodes are provided for author convenience and to keep your markdown content clean.
## `figure` {#figure}
## figure {#figure}
[Documentation of `figure`](https://gohugo.io/content-management/shortcodes/#figure)
@@ -78,7 +59,7 @@ The HTML looks like this:
</figure>
```
## `gist`
## gist
[Documentation of `gist`](https://gohugo.io/content-management/shortcodes/#gist)
@@ -98,7 +79,7 @@ The HTML looks like this:
<script type="application/javascript" src="https://gist.github.com/spf13/7896402.js"></script>
```
## `highlight`
## highlight
[Documentation of `highlight`](https://gohugo.io/content-management/shortcodes/#instagram)
@@ -130,7 +111,7 @@ The rendered output looks like this:
</section>
{{< /highlight >}}
## `instagram`
## instagram
[Documentation of `instagram`](https://gohugo.io/content-management/shortcodes/#instagram)
@@ -144,7 +125,7 @@ The rendered output looks like this:
{{< instagram BWNjjyYFxVx hidecaption >}}
## `param`
## param
[Documentation of `param`](https://gohugo.io/content-management/shortcodes/#param)
@@ -158,11 +139,11 @@ The rendered output looks like this:
{{< param description >}}
## `ref` and `relref` {#ref-and-relref}
## ref and relref {#ref-and-relref}
[Documentation of `ref` and `relref`](https://gohugo.io/content-management/shortcodes/#ref-and-relref)
## `tweet`
## tweet
[Documentation of `tweet`](https://gohugo.io/content-management/shortcodes/#tweet)
@@ -176,7 +157,7 @@ The rendered output looks like this:
{{< tweet 877500564405444608 >}}
## `vimeo`
## vimeo
[Documentation of `vimeo`](https://gohugo.io/content-management/shortcodes/#vimeo)
@@ -190,7 +171,7 @@ The rendered output looks like this:
{{< vimeo 146022717 >}}
## `youtube`
## youtube
[Documentation of `youtube`](https://gohugo.io/content-management/shortcodes/#youtube)