Browse Source

add getenv

tags/v1.1
Bud Parr 7 years ago
parent
commit
9a2b45e91f
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      layouts/_default/baseof.html

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

@@ -29,7 +29,9 @@
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
</head>
<body class="ma0 avenir bg-near-white">

<body class="ma0 avenir bg-near-white{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">

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

Loading…
Cancel
Save