Skip to content

Commit

Permalink
Hide title from nav if present in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
jazairi committed Feb 9, 2024
1 parent 5346ebd commit 2b71166
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/layouts/_site_nav.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<div class="wrap-outer-header-local layout-band">
<div class="wrap-header-local">
<div class="local-identity">
<h2 class="title title-site"><a href="/">TACOS</a></h2>
</div>
<% unless ENV['PLATFORM_NAME'] %>
<div class="local-identity">
<h2 class="title title-site"><a href="/">TACOS</a></h2>
</div>
<% end %>
<div class="wrap-local-nav">
<div class="wrap-bar">
<nav class="local-nav" aria-label="Main menu">
Expand Down

0 comments on commit 2b71166

Please sign in to comment.