☝️ ※ taxonomy と term という名前 Hugo v0.73 において taxonomyTerm → taxonomy、taxonomy → term という .Kind 値の変更が入っているので、バージョンアップ時はご注意ください。 上記の値は、次のようなテンプレートコードを、ベーステンプレート (layouts/_default/baseof.html) に記述して調べています(2020-04-27: .IsSection を追記、.URL (deprecated) を .RelPermalink に変更)。 <pre> .RelPermalink = {{ .RelPermalink }} .Section = {{ .Section }} .Type = {{ .Type }} .Kind = {{ .Kind }} .IsHome = {{ .IsHome }} .
![Hugo で各種ページの .Kind や .IsPage、.IsSection、.IsNode の値がどうなるかの一覧](https://cdn-ak-scissors.b.st-hatena.com/image/square/d13f3a5122af19ea97ea6ec66315493d87b3cd05/height=288;version=1;width=512/https%3A%2F%2Fmaku77.github.io%2Fimg%2Fsite-logo.png)