Add email shortcode
This commit is contained in:
23
README.md
23
README.md
@@ -29,7 +29,7 @@ It's a versatile canvas that serves most web needs.
|
||||
- Comments
|
||||
- Customizable
|
||||
- Dark color scheme
|
||||
- E-mail protection
|
||||
- Email shortcode
|
||||
- Facebook sharing
|
||||
- Figure shortcode
|
||||
- Gallery shortcode
|
||||
@@ -384,6 +384,27 @@ Parameters:
|
||||
<dd>Optional. String. Hugo <a href="https://gohugo.io/content-management/syntax-highlighting/#highlight-shortcode">highlight options</a>.</dd>
|
||||
</dl>
|
||||
|
||||
### Email
|
||||
|
||||
The `paige/email` shortcode hides e-mail addresses from robots.
|
||||
|
||||
```
|
||||
{{< paige/email
|
||||
address=""
|
||||
text="" >}}
|
||||
```
|
||||
|
||||
Inner content: None.
|
||||
|
||||
Parameters:
|
||||
|
||||
<dl>
|
||||
<dt><code>address</code></dt>
|
||||
<dd>Required. String. The e-mail address.</dd>
|
||||
<dt><code>text</code></dt>
|
||||
<dd>Required. String. The anchor text.</dd>
|
||||
</dl>
|
||||
|
||||
### Figure
|
||||
|
||||
The `paige/figure` shortcode provides a figure.
|
||||
|
Reference in New Issue
Block a user