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

Commit

Permalink
Disable notification for prod and keep it for dev only
Browse files Browse the repository at this point in the history
  • Loading branch information
aohorodnyk committed Jan 4, 2021
1 parent 80efb2d commit f682564
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 f682564

Please sign in to comment.