Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/includes.html')
-rw-r--r--layouts/partials/includes.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/includes.html b/layouts/partials/includes.html
index 08883eb..eb733c0 100644
--- a/layouts/partials/includes.html
+++ b/layouts/partials/includes.html
@@ -1,2 +1,6 @@
<!-- CSS -->
+{{ if eq (getenv "HUGO_ENV") "production" }}
+<link rel="stylesheet" href="/css/style.min.css">
+{{else}}
<link rel="stylesheet" href="/css/style.css">
+{{end}} \ No newline at end of file