Skip to content
Permalink
Browse files
GEODE-1204 modified conditionals and opacity to make logo visible on …
…Releases page.

Closes #45971
  • Loading branch information
davebarnes97 committed Apr 13, 2016
1 parent a5b5a88 commit 15a476bb54c4fe22103f975a79ccfba9e757e47c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
@@ -44,6 +44,12 @@ compile '/community/*' do
layout 'community'
end

compile '/releases/*' do
@releases = true
filter :erb
layout 'releases'
end

compile '*' do
if item.binary?
# don’t filter binary items
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">

<%= render 'header', {:docs => @docs, :community => @community} %>
<%= render 'header', {:docs => @docs, :community => @community, :releases => @releases} %>

<%= @content %>

@@ -230,7 +230,7 @@
</head>
<body>

<header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav <%= 'secondary' if @docs or @community %>" role="banner">
<header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav <%= 'secondary' if @docs or @community or @releases %>" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
@@ -0,0 +1 @@
<%= render 'default', :releases => true, :content => @content, :item => @item %>

0 comments on commit 15a476b

Please sign in to comment.