Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build-in-shortcodes.md « sample « content « exampleSite - github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d1fc21ce4fb1a01a505eca604d0717d0b3fb68a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
title: "Build-in Shortcodes"
date: 2017-10-17T15:26:15Z
draft: false
weight: 10
description: "calling built-in Shortcodes into your content files."
TableOfContents: true
---

See https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes

## figure

{{< figure src="/images/pexels-photo-196666.jpeg" title="2 People Sitting With View of Yellow Flowers during Daytime" >}}

## gist

{{< gist spf13 7896402 "img.html" >}}

## highlight

{{< highlight html >}}
<section id="main">
  <div>
   <h1 id="title">{{ .Title }}</h1>
    {{ range .Data.Pages }}
        {{ .Render "summary"}}
    {{ end }}
  </div>
</section>
{{< /highlight >}}

## tweet

{{< tweet 877500564405444608 >}}

## vimeo
{{< vimeo 146022717 >}}

## youtube
{{< youtube w7Ft2ymGmfc >}}