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

github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShohei Ueda <30958501+peaceiris@users.noreply.github.com>2020-05-22 14:41:09 +0300
committerGitHub <noreply@github.com>2020-05-22 14:41:09 +0300
commitacd2b3f11fe51f4d769f10fae8706a4fc7e300ba (patch)
tree28b840d46708a0ef70375cb5fb7fa824c670919d /README.md
parent17a7fd01f145ba6a68abfbd653d273972c74136a (diff)
feat: Add circle shortcode (#158)
cf. #152
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index f3ad738a..872d711c 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ Hugo IRIS Theme
- [Netlify](#netlify)
- [GitHub Pages using Actions](#github-pages-using-actions)
- [Shortcodes](#shortcodes)
+ - [circle](#circle)
- [button](#button)
- [li](#li)
- [mermaid](#mermaid)
@@ -194,6 +195,16 @@ jobs:
## Shortcodes
+### circle
+
+If your logo image is located at `static/images/logo.jpg`.
+
+```md
+{{< circle src="/images/logo.jpg" alt="hugo-theme-iris logo" >}}
+```
+
+<img width="500px" src="https://raw.githubusercontent.com/peaceiris/hugo-theme-iris/master/exampleSite/static/images/shortcode_circle.jpg" alt="Shortcode mermaid">
+
### button
```md