Update usage documentation

This commit is contained in:
Nicolas Martignoni 2019-04-06 14:15:08 +02:00
parent 9118c82c70
commit 7cfc7f3688
1 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@ This is not a standalone theme. It is a [Hugo](https://gohugo.io) theme componen
```go
{{< cloakemail address="john.doe@example.com" >}}
```
or, if you want to specify a protocol,
or, if you want to specify a protocol and/or a class,
```go
{{< cloakemail address="john.doe@example.com" protocol="xmpp" >}}
{{< cloakemail address="john.doe@example.com" protocol="xmpp" class="vip" >}}
```
### Credits