Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #215 from aohorodnyk/prod-disable-notification
Browse files Browse the repository at this point in the history
Disable notification for prod and keep it for dev only
  • Loading branch information
pacollins authored Jan 31, 2021
2 parents 80efb2d + f682564 commit 2202208
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/site-header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!--[if IE]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
{{ partial "theme-notification" . }}
{{ if eq hugo.Environment "development" }}
{{ partial "theme-notification" . }}
{{ end }}
<header id="site-header">
<nav id="site-nav">
<h1 class="nav-title">
Expand Down

0 comments on commit 2202208

Please sign in to comment.