Skip to content

Commit

Permalink
docs: hugo-noticeの使い方を記述
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Feb 12, 2024
1 parent 23d0562 commit 5b4a4b1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,29 @@ python helper.py new <post name>
```

記事内の `draft = true``false` に変更すると表示されるようになります

## 構文

```
{{< notice error >}}
This is a warning notice. Be warned!
{{< /notice >}}
{{< notice info >}}
This is a warning notice. Be warned!
{{< /notice >}}
{{< notice tip >}}
This is a warning notice. Be warned!
{{< /notice >}}
{{< notice note >}}
This is a warning notice. Be warned!
{{< /notice >}}
{{< notice warning >}}
This is a warning notice. Be warned!
{{< /notice >}}
```

0 comments on commit 5b4a4b1

Please sign in to comment.