ソースを参照

Add body_classes parameter to body

Fixes #43
tags/1.30
Bud Parr 7年前
コミット
a3dc1ac327
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      layouts/_default/baseof.html

+ 1
- 1
layouts/_default/baseof.html ファイルの表示

@@ -35,7 +35,7 @@
{{ end }}
</head>

<body class="ma0 avenir bg-near-white{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
<body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">

{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
<main class="pb7" role="main">

読み込み中…
キャンセル
保存