geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [10/18] incubator-geode git commit: GEODE-1204 modified conditionals and opacity to make logo visible on Releases page.
Date Thu, 14 Apr 2016 20:30:20 GMT
GEODE-1204 modified conditionals and opacity to make logo visible on Releases page.

Closes #45971


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/f473facb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/f473facb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/f473facb

Branch: refs/heads/feature/GEODE-1162
Commit: f473facb33fea633782968513b792f13817c54a9
Parents: 0f692f8
Author: Dave Barnes <dbarnes@pivotal.io>
Authored: Fri Apr 8 16:34:22 2016 -0700
Committer: Dave Barnes <dbarnes@pivotal.io>
Committed: Wed Apr 13 10:57:48 2016 -0700

----------------------------------------------------------------------
 geode-site/website/Rules                 | 6 ++++++
 geode-site/website/layouts/default.html  | 2 +-
 geode-site/website/layouts/header.html   | 2 +-
 geode-site/website/layouts/releases.html | 1 +
 4 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f473facb/geode-site/website/Rules
----------------------------------------------------------------------
diff --git a/geode-site/website/Rules b/geode-site/website/Rules
index 5369385..46aead3 100644
--- a/geode-site/website/Rules
+++ b/geode-site/website/Rules
@@ -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

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f473facb/geode-site/website/layouts/default.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/default.html b/geode-site/website/layouts/default.html
index 2e3e2cd..2bdf9ef 100644
--- a/geode-site/website/layouts/default.html
+++ b/geode-site/website/layouts/default.html
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
 
-<%= render 'header', {:docs => @docs, :community => @community} %>
+<%= render 'header', {:docs => @docs, :community => @community, :releases =>
@releases} %>
 
 <%= @content %>
 

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f473facb/geode-site/website/layouts/header.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/header.html b/geode-site/website/layouts/header.html
index 6edaec8..b5a4ca7 100644
--- a/geode-site/website/layouts/header.html
+++ b/geode-site/website/layouts/header.html
@@ -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">

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f473facb/geode-site/website/layouts/releases.html
----------------------------------------------------------------------
diff --git a/geode-site/website/layouts/releases.html b/geode-site/website/layouts/releases.html
new file mode 100644
index 0000000..9240770
--- /dev/null
+++ b/geode-site/website/layouts/releases.html
@@ -0,0 +1 @@
+<%= render 'default', :releases => true, :content => @content, :item => @item
%>


Mime
View raw message