R-AM

カテゴリーとタグの一覧

サイドバーなどにカテゴリーとタグの一覧を表示させたい時は.Site.Taxonomiesから拾ってくる。 カテゴリー {{ if lt 0 (len .Site.Taxonomies.categories) }} <ul> {{ range .Site.Taxonomies.categories.ByCount }} <li><a

config.toml

設定しておいた方が良いと思われるもの。 title = "site_title" languageCode = "ja" # hostname (and path) to the root, e.g. http://spf13.com/ # ホスト名(およびパス)をルートに設定します。 http://spf13.com/ baseURL = "http://mysite_url/" # Missing translations will default to this content language