diff options
author | Shohei Ueda <30958501+peaceiris@users.noreply.github.com> | 2020-05-22 14:41:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 14:41:09 +0300 |
commit | acd2b3f11fe51f4d769f10fae8706a4fc7e300ba (patch) | |
tree | 28b840d46708a0ef70375cb5fb7fa824c670919d /README.md | |
parent | 17a7fd01f145ba6a68abfbd653d273972c74136a (diff) |
feat: Add circle shortcode (#158)
cf. #152
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |