Skip to content

Instantly share code, notes, and snippets.

@budparr
Created February 15, 2017 15:44
Show Gist options
  • Save budparr/d78d0c110f7d7c62d207667e9e5f2fcb to your computer and use it in GitHub Desktop.
Save budparr/d78d0c110f7d7c62d207667e9e5f2fcb to your computer and use it in GitHub Desktop.

Revisions

  1. Bud Parr created this gist Feb 15, 2017.
    3 changes: 3 additions & 0 deletions hugo-env-check
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    {{ if eq (getenv "HUGO_ENV") "production" }}
    <!-- production stuff here -->
    {{ end }}