archie-shades-of-purple/exampleSite/content/posts/post-6.md
Hyacinthe Cartiaux c194169315
Fix various deprecation warning (#113)
* .Site.IsServer was deprecated in Hugo v0.120.0, replaced by hugo.IsServer

* .Site.DisqusShortname was deprecated in Hugo v0.120.0, replaced by .Site.Config.Services.Disqus.Shortname

* Use .RenderString instead of markdownify (solves #104)

* The "tweet" shortcode requires two named parameters user and id.

* Replace .Site.BaseURL by absURL (solves #103)
2024-07-27 11:45:56 +05:30

802 B
Raw Blame History

title date description
Hugo shortcodes 2018-03-18T12:13:36+05:30 Here is a demo of all shortcodes available in Hugo.

Images

{{< 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" >}}

{{< 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" >}}

Github Gist

{{< gist spf13 7896402 >}}

Youtube video

{{< youtube w7Ft2ymGmfc >}}

Tweet

{{< tweet user="GoHugoIO" id="877500564405444608" >}}

Vimeo

{{< vimeo id="146022717" >}}

Instagram

{{< instagram BWNjjyYFxVx >}}

Callouts

{{< callout emoji="" text="I guess this works" >}}