Browse Source

Add body_classes parameter to body

Fixes #43
tags/1.30
Bud Parr 7 years ago
parent
commit
a3dc1ac327
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      layouts/_default/baseof.html

+ 1
- 1
layouts/_default/baseof.html View File

@@ -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">

Loading…
Cancel
Save