diff options
author | Alok G Singh <alephnull@gmail.com> | 2019-10-01 07:59:43 +0300 |
---|---|---|
committer | zwbetz-gh <37317628+zwbetz-gh@users.noreply.github.com> | 2019-10-01 07:59:43 +0300 |
commit | 341eb1eb1c90b09f33d46104fa2477b80eedc83d (patch) | |
tree | de8fc9ad2edbf6ac7dbb4d51905eb3adccfbe4bf /README.md | |
parent | 0c4285641b8341114d300b9089b3a80816fbcd24 (diff) |
Added mastodon shortcode (#8)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -22,6 +22,7 @@ A minimal hugo theme made with bootstrap that focuses on content readability. - [`imgAbs`](#imgabs) - [`imgRel`](#imgrel) - [`imgProc`](#imgproc) + - [`mastodon`](#mastodon) - [Getting help](#getting-help) - [Stackbit Deploy](#stackbit-deploy) @@ -157,6 +158,18 @@ class="some-class" style="some-style" >}} ``` +### `mastodon` + +This will embed a toot in an `iframe`. + +These arguments are optional: `width`, `height`. + +``` +{{% mastodon +status="https://mastodon.social/@kevingimbel/100700713283716694" +width="1000" height="500" %}} +``` + ## Getting help If you run into an issue that isn't answered by this documentation or the [`exampleSite`](https://github.com/zwbetz-gh/minimal-bootstrap-hugo-theme/tree/master/exampleSite), then visit the [Hugo forum](https://discourse.gohugo.io/). The folks there are helpful and friendly. **Before** asking your question, be sure to read the [requesting help guidelines](https://discourse.gohugo.io/t/requesting-help/9132). Feel free to tag me in your question, my forum username is [@zwbetz](https://discourse.gohugo.io/u/zwbetz/summary). |