Created
February 15, 2017 15:44
-
-
Save budparr/d78d0c110f7d7c62d207667e9e5f2fcb to your computer and use it in GitHub Desktop.
checks for Hugo environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if eq (getenv "HUGO_ENV") "production" }} | |
<!-- production stuff here --> | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment