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

github.com/zwbetz-gh/minimal-bootstrap-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index f6e864f..d66c549 100644
--- a/README.md
+++ b/README.md
@@ -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).