Fix to support Hugo 0.55.0 and later

This commit is contained in:
Nicolas Martignoni
2019-04-15 15:42:04 +02:00
parent 5e4b7b3cd1
commit f7789d85b4
2 changed files with 5 additions and 5 deletions

View File

@@ -23,15 +23,15 @@ This components comes with english, french and german localizations for the noti
```
3. In your site, use the shortcode, this way:
```go
{{% notice warning %}}
{{< notice warning >}}
This is a warning notice. Be warned!
{{% /notice %}}
{{< /notice >}}
```
or
```go
{{% notice tip %}}
{{< notice tip >}}
This is a very good tip.
{{% /notice %}}
{{< /notice >}}
```
### Credits