all repos — archie @ 27307e797f86cbf40f9d8a62fc4274dad0440df7

A minimal Hugo Theme

exampleSite/content/posts/post-6.md (view raw)

 1---
 2title: "Hugo shortcodes"
 3date: 2018-03-18T12:13:36+05:30
 4description: Here is a demo of all shortcodes available in Hugo.
 5---
 6
 7## Images
 8
 9{{< figure src="https://images.unsplash.com/photo-1560032779-0a8809186efd?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" title="Dave Herring" >}}
10
11{{< figure src="https://images.unsplash.com/photo-1560032779-0a8809186efd?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80" title="Dave Herring" >}}
12
13
14## Github Gist
15
16{{< gist spf13 7896402 >}}
17
18## Youtube video
19
20{{< youtube w7Ft2ymGmfc >}}
21
22## Tweet
23
24{{< tweet 877500564405444608 >}}
25
26## Vimeo
27
28{{< vimeo id="146022717" >}}
29
30## Instagram
31
32{{< instagram BWNjjyYFxVx >}}
33
34## Callouts
35
36{{< callout emoji="⚡️" text="I guess this works" >}}