added class 'env-development' when environment is set to development in hugo.toml
This commit is contained in:
parent
e3f8169c58
commit
6cc391b3e4
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ itemtype="http://schema.org/WebPage">
|
|||
{{ partialCached "essentials/style.html" . }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body class="{{ if eq .Site.Params.environment "development" }}env-development{{ end }}">
|
||||
<!-- cache partial only in production -->
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ partialCached "preloader.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue