frontmatter

middlemanのmetaタグ設定(haml)

手順1:frontmatterにmetaタグの内容を入れる 手順2:layoutテンプレートで設定 hamlで書くとこうなります。 %meta{:content => current_page.data.keywords, :name => "keywords"} %meta{:content => current_page.data.description, :name => "description…