You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/05/27 04:53:41 UTC
[2/5] mesos git commit: Cleaned up the code style or website erb
templates.
Cleaned up the code style or website erb templates.
Review: https://reviews.apache.org/r/47902/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6e504201
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6e504201
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6e504201
Branch: refs/heads/master
Commit: 6e504201ee1b416b80043ef3f4d5333798bd8e61
Parents: 878b5b4
Author: haosdent huang <ha...@gmail.com>
Authored: Thu May 26 21:52:56 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Thu May 26 21:52:56 2016 -0700
----------------------------------------------------------------------
site/source/blog.html.erb | 25 ++--
site/source/community.html.md | 92 ++++++-------
site/source/index.html.erb | 2 +-
site/source/layouts/community_section.erb | 22 +--
site/source/layouts/documentation.erb | 21 +--
site/source/layouts/layout.erb | 177 +++++++++++++------------
site/source/layouts/post.erb | 83 ++++++------
7 files changed, 215 insertions(+), 207 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/blog.html.erb
----------------------------------------------------------------------
diff --git a/site/source/blog.html.erb b/site/source/blog.html.erb
index 04cfa79..203c869 100644
--- a/site/source/blog.html.erb
+++ b/site/source/blog.html.erb
@@ -2,17 +2,18 @@
title: Apache Mesos | Blog
breadcrumb: Blog
---
+
<div class="row">
- <div class="col-md-3">
- <h4>Apache Mesos Blog</h4>
- <p>The Mesos blog is a place for announcements and for project committers to highlight features of the software.</p>
- </div>
- <div class="col-md-9">
- <% blog.articles.each do |post| %>
- <article>
- <h2><%= link_to(post.title, post.url)%></h2>
- <p><em>Posted by <%= post.data.post_author.display_name %>, <%= post.date.strftime("%B %e, %Y") %></em></p>
- </article>
- <% end %>
- </div>
+ <div class="col-md-3">
+ <h4>Apache Mesos Blog</h4>
+ <p>The Mesos blog is a place for announcements and for project committers to highlight features of the software.</p>
+ </div>
+ <div class="col-md-9">
+ <% blog.articles.each do |post| %>
+ <article>
+ <h2><%= link_to(post.title, post.url)%></h2>
+ <p><em>Posted by <%= post.data.post_author.display_name %>, <%= post.date.strftime("%B %e, %Y") %></em></p>
+ </article>
+ <% end %>
+ </div>
</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/community.html.md
----------------------------------------------------------------------
diff --git a/site/source/community.html.md b/site/source/community.html.md
index 8675577..ea6e885 100755
--- a/site/source/community.html.md
+++ b/site/source/community.html.md
@@ -9,50 +9,50 @@ layout: community_section
<p>Apache Mesos is an open source community that's organized by its members, including you! Whether you're running or writing a framework, or hacking the core, there are opportunities for you to get in touch and ask questions, get involved locally, and contribute back. If you're interested in who is using Mesos, check out our growing <a href="/documentation/latest/powered-by-mesos/">Powered By Mesos</a> list.</p>
<div class="row-fluid">
-<div class="col-md-6">
- <h2>Get Involved</h2>
- <h3 name="meetup">Local User Groups</h3>
- <p><a href="user-groups/">Mesos User Groups</a> organize local Mesos events in different cities. Join one in your city, or learn how to start your own.</p>
-
- <h3>Contribute</h3>
- <h3 name="reportbugs">Report or track a bug</h3>
- <p>New bugs can be reported on our <a href="http://issues.apache.org/jira/browse/MESOS">issue tracker</a>. In order to create a new issue, you'll need to signup for an account. See the guidelines <a href="/documentation/latest/reporting-a-bug/">here</a>.</p>
-
- <h3 name="contribute">Contribute a core patch</h3>
- <p>Follow our <a href="/documentation/latest/submitting-a-patch">contribution guidelines</a> when submitting a patch. We love patches. :)</p>
-
- <h3 name="workinggroups">Working Groups</h3>
-
- <p>
- As the community has scaled, we work on larger and more involved features and components in separate interest or <i>working</i> groups.
- We keep track of these working groups <a href="https://cwiki.apache.org/confluence/display/MESOS/Apache+Mesos+Working+Groups">here</a>.
- In this list, you will be able to get in touch with the stakeholders, contributors and committers interested in certain features for Mesos and join in on the design meetings.
- </p>
-
-</div>
-<div class="col-md-6">
- <h2>Get In Touch</h2>
- <h3 name="mailinglists">Mailing Lists</h3>
- <p><b>Users</b>: <a href="mailto:user-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:user-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/user@mesos.apache.org/">Archives</a><br />
- <b>Developers</b>: <a href="mailto:dev-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:dev-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/dev@mesos.apache.org/">Archives</a><br />
- <b>JIRA Updates</b>: <a href="mailto:issues-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:issues-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/issues@mesos.apache.org/">Archives</a><br />
- <b>Reviews</b>: <a href="mailto:reviews-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:reviews-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/reviews@mesos.apache.org/">Archives</a><br />
- <b>Jenkins Builds</b>: <a href="mailto:builds-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:builds-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/builds@mesos.apache.org/">Archives</a><br />
- <b>Commits</b>: <a href="mailto:commits-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:commits-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/commits@mesos.apache.org/">Archives</a><br />
- <b>Modules</b>: <a href="mailto:modules-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:modules-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/modules@mesos.apache.org/">Archives</a><br /></p>
-
- <h3 name="ircchannel">IRC Channel</h3>
- <p>Developers and users chat in the #mesos channel on irc.freenode.net.</p>
-
- <p>If you are new to IRC, you can use a <a href="http://webchat.freenode.net/?channels=#mesos">web-based client</a>.</p>
-
- <h3 name="twitter">Follow us on Twitter</h3>
- <a class="twitter-timeline" href="https://twitter.com/ApacheMesos" data-widget-id="426586952293289985">Tweets by @ApacheMesos</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
-
-</div>
-<div class="col-md-12">
- <h3 name="calendar">Events Calendar</h3>
- <iframe src="https://calendar.google.com/calendar/embed?src=2hecvndc0mnaqlir34cqnfvtak%40group.calendar.google.com" style="border: 0" width="100%" height="600" frameborder="0" scrolling="no"></iframe>
-</div>
+ <div class="col-md-6">
+ <h2>Get Involved</h2>
+ <h3 name="meetup">Local User Groups</h3>
+ <p><a href="user-groups/">Mesos User Groups</a> organize local Mesos events in different cities. Join one in your city, or learn how to start your own.</p>
+
+ <h3>Contribute</h3>
+ <h3 name="reportbugs">Report or track a bug</h3>
+ <p>New bugs can be reported on our <a href="http://issues.apache.org/jira/browse/MESOS">issue tracker</a>. In order to create a new issue, you'll need to signup for an account. See the guidelines <a href="/documentation/latest/reporting-a-bug/">here</a>.</p>
+
+ <h3 name="contribute">Contribute a core patch</h3>
+ <p>Follow our <a href="/documentation/latest/submitting-a-patch">contribution guidelines</a> when submitting a patch. We love patches. :)</p>
+
+ <h3 name="workinggroups">Working Groups</h3>
+
+ <p>
+ As the community has scaled, we work on larger and more involved features and components in separate interest or <i>working</i> groups.
+ We keep track of these working groups <a href="https://cwiki.apache.org/confluence/display/MESOS/Apache+Mesos+Working+Groups">here</a>.
+ In this list, you will be able to get in touch with the stakeholders, contributors and committers interested in certain features for Mesos and join in on the design meetings.
+ </p>
+
+ </div>
+ <div class="col-md-6">
+ <h2>Get In Touch</h2>
+ <h3 name="mailinglists">Mailing Lists</h3>
+ <p><b>Users</b>: <a href="mailto:user-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:user-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/user@mesos.apache.org/">Archives</a><br />
+ <b>Developers</b>: <a href="mailto:dev-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:dev-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/dev@mesos.apache.org/">Archives</a><br />
+ <b>JIRA Updates</b>: <a href="mailto:issues-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:issues-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/issues@mesos.apache.org/">Archives</a><br />
+ <b>Reviews</b>: <a href="mailto:reviews-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:reviews-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/reviews@mesos.apache.org/">Archives</a><br />
+ <b>Jenkins Builds</b>: <a href="mailto:builds-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:builds-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/builds@mesos.apache.org/">Archives</a><br />
+ <b>Commits</b>: <a href="mailto:commits-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:commits-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/commits@mesos.apache.org/">Archives</a><br />
+ <b>Modules</b>: <a href="mailto:modules-subscribe@mesos.apache.org?subject=Subscribe&body=Subscribe">Subscribe</a> | <a href="mailto:modules-unsubscribe@mesos.apache.org?subject=Unsubscribe&body=Unsubscribe">Unsubscribe</a> | <a href="http://www.mail-archive.com/modules@mesos.apache.org/">Archives</a><br /></p>
+
+ <h3 name="ircchannel">IRC Channel</h3>
+ <p>Developers and users chat in the #mesos channel on irc.freenode.net.</p>
+
+ <p>If you are new to IRC, you can use a <a href="http://webchat.freenode.net/?channels=#mesos">web-based client</a>.</p>
+
+ <h3 name="twitter">Follow us on Twitter</h3>
+ <a class="twitter-timeline" href="https://twitter.com/ApacheMesos" data-widget-id="426586952293289985">Tweets by @ApacheMesos</a>
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+ </div>
+ <div class="col-md-12">
+ <h3 name="calendar">Events Calendar</h3>
+ <iframe src="https://calendar.google.com/calendar/embed?src=2hecvndc0mnaqlir34cqnfvtak%40group.calendar.google.com" style="border: 0" width="100%" height="600" frameborder="0" scrolling="no"></iframe>
+ </div>
</div>
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/index.html.erb
----------------------------------------------------------------------
diff --git a/site/source/index.html.erb b/site/source/index.html.erb
index 67f38ac..362843e 100755
--- a/site/source/index.html.erb
+++ b/site/source/index.html.erb
@@ -81,6 +81,6 @@ title: Apache Mesos
data-related="ApacheMesos">Tweet #mesos</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</span>
- </div>
+ </div>
</div>
<!-- /lowersection -->
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/layouts/community_section.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/community_section.erb b/site/source/layouts/community_section.erb
index b53c0e3..698d199 100644
--- a/site/source/layouts/community_section.erb
+++ b/site/source/layouts/community_section.erb
@@ -1,15 +1,15 @@
<% wrap_layout :layout do %>
<div class="row">
- <div class="col-md-2">
- <ul class="list-group">
- <li class="list-group-item"><a href="/documentation/latest/submitting-a-patch/">Contribute</a></li>
- <li class="list-group-item"><a href="/documentation/latest/powered-by-mesos/">Mesos Adopters</a></li>
- <li class="list-group-item"><a href="/community/user-groups/">User Groups</a></li>
- <li class="list-group-item"><a href="/documentation/latest/committers/">Committers</a></li>
- </li>
- </div>
- <div class="col-md-10">
- <%= yield %>
- </div>
+ <div class="col-md-2">
+ <ul class="list-group">
+ <li class="list-group-item"><a href="/documentation/latest/submitting-a-patch/">Contribute</a></li>
+ <li class="list-group-item"><a href="/documentation/latest/powered-by-mesos/">Mesos Adopters</a></li>
+ <li class="list-group-item"><a href="/community/user-groups/">User Groups</a></li>
+ <li class="list-group-item"><a href="/documentation/latest/committers/">Committers</a></li>
+ </li>
+ </div>
+ <div class="col-md-10">
+ <%= yield %>
+ </div>
</div>
<% end %>
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/layouts/documentation.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/documentation.erb b/site/source/layouts/documentation.erb
index a2f5361..a91f916 100644
--- a/site/source/layouts/documentation.erb
+++ b/site/source/layouts/documentation.erb
@@ -3,15 +3,16 @@ Documentation
<% end %>
<% wrap_layout :layout do %>
<div class="row-fluid">
- <div class="col-md-4">
- <h4>If you're new to Mesos</h4>
- <p>See the <a href="/gettingstarted/">getting started</a> page for more information about downloading, building, and deploying Mesos.</p>
-
- <h4>If you'd like to get involved or you're looking for support</h4>
- <p>See our <a href="/community/">community</a> page for more details.</p>
- </div>
- <div class="col-md-8">
- <%= yield %>
- </div>
+ <div class="col-md-4">
+ <h4>If you're new to Mesos</h4>
+ <p>See the <a href="/gettingstarted/">getting started</a> page for more
+ information about downloading, building, and deploying Mesos.</p>
+
+ <h4>If you'd like to get involved or you're looking for support</h4>
+ <p>See our <a href="/community/">community</a> page for more details.</p>
+ </div>
+ <div class="col-md-8">
+ <%= yield %>
+ </div>
</div>
<% end %>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/layouts/layout.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/layout.erb b/site/source/layouts/layout.erb
index a732c74..c05b1a3 100755
--- a/site/source/layouts/layout.erb
+++ b/site/source/layouts/layout.erb
@@ -1,104 +1,109 @@
<!DOCTYPE html>
<html>
- <head>
- <meta charset="utf-8">
- <title><%= current_page.data.title %></title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <head>
+ <meta charset="utf-8">
+ <title><%= current_page.data.title %></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
- <link rel="alternate" type="application/atom+xml" title="Apache Mesos Blog" href="/blog/feed.xml">
- <%#= stylesheet_link_tag 'bootstrap.min.css' %>
- <%= stylesheet_link_tag 'main.css' %>
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+ <link rel="alternate" type="application/atom+xml" title="Apache Mesos Blog" href="/blog/feed.xml">
+ <%= stylesheet_link_tag 'main.css' %>
- <% if current_page.data.canonical_url %>
- <link rel="canonical" href="<%= current_page.data.canonical_url %>">
- <% end %>
+ <% if current_page.data.canonical_url %>
+ <link rel="canonical" href="<%= current_page.data.canonical_url %>">
+ <% end %>
- <!-- Google Analytics Magic -->
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-20226872-1']);
- _gaq.push(['_setDomainName', 'apache.org']);
- _gaq.push(['_trackPageview']);
+ <!-- Google Analytics Magic -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20226872-1']);
+ _gaq.push(['_setDomainName', 'apache.org']);
+ _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body>
- <!-- magical breadcrumbs -->
- <div class="topnav">
- <ul class="breadcrumb">
- <li>
- <div class="dropdown">
- <a data-toggle="dropdown" href="#">Apache Software Foundation <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
- <li><a href="http://www.apache.org">Apache Homepage</a></li>
- <li><a href="http://www.apache.org/licenses/">License</a></li>
- <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
- <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
- <li><a href="http://www.apache.org/security/">Security</a></li>
- </ul>
- </div>
- </li>
- <li><a href="http://mesos.apache.org">Apache Mesos</a></li>
- <% if current_page.data.breadcrumb %>
- <li><a href="/<%= current_page.data.breadcrumb.delete(' ').downcase %>/"><%= current_page.data.breadcrumb %></a></li>
- <% elsif content_for?(:page_title) %>
- <% if yield_content(:page_title) == "Documentation" %>
- <li><a href="/documentation/latest/"><%= yield_content :page_title %></a></li>
- <% else %>
- <li><a href="/<%= yield_content(:page_title).downcase %>/"><%= yield_content :page_title %></a></li>
- <% end %>
- <% end %>
- </ul><!-- /breadcrumb -->
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ </head>
+ <body>
+ <!-- magical breadcrumbs -->
+ <div class="topnav">
+ <ul class="breadcrumb">
+ <li>
+ <div class="dropdown">
+ <a data-toggle="dropdown" href="#">Apache Software Foundation <span class="caret"></span></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
+ <li><a href="http://www.apache.org">Apache Homepage</a></li>
+ <li><a href="http://www.apache.org/licenses/">License</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ <li><a href="http://www.apache.org/security/">Security</a></li>
+ </ul>
</div>
+ </li>
+ <li><a href="http://mesos.apache.org">Apache Mesos</a></li>
+ <% if current_page.data.breadcrumb %>
+ <li><a href="/<%= current_page.data.breadcrumb.delete(' ').downcase %>/"><%= current_page.data.breadcrumb %></a></li>
+ <% elsif content_for?(:page_title) %>
+ <% if yield_content(:page_title) == "Documentation" %>
+ <li><a href="/documentation/latest/"><%= yield_content :page_title %></a></li>
+ <% else %>
+ <li><a href="/<%= yield_content(:page_title).downcase %>/"><%= yield_content :page_title %></a></li>
+ <% end %>
+ <% end %>
+ </ul><!-- /breadcrumb -->
+ </div>
- <!-- navbar excitement -->
- <div class="navbar navbar-default navbar-static-top" role="navigation">
- <div class="container">
+ <!-- navbar excitement -->
+ <div class="navbar navbar-default navbar-static-top" role="navigation">
+ <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mesos-menu" aria-expanded="false">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="/"><img src="/assets/img/mesos_logo.png" alt="Apache Mesos logo" style="float:left" /></a>
- </div>
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed"
+ data-toggle="collapse"
+ data-target="#mesos-menu"
+ aria-expanded="false">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/"><img src="/assets/img/mesos_logo.png" alt="Apache Mesos logo" style="float:left" /></a>
+ </div>
- <div class="navbar-collapse collapse" id="mesos-menu">
- <ul class="nav navbar-nav navbar-right">
- <li><a href="/gettingstarted/">Getting Started</a></li>
- <li><a href="/documentation/latest/">Documentation</a></li>
- <li><a href="/downloads/">Downloads</a></li>
- <li><a href="/community/">Community</a></li>
- </ul>
- </div>
+ <div class="navbar-collapse collapse" id="mesos-menu">
+ <ul class="nav navbar-nav navbar-right">
+ <li><a href="/gettingstarted/">Getting Started</a></li>
+ <li><a href="/documentation/latest/">Documentation</a></li>
+ <li><a href="/downloads/">Downloads</a></li>
+ <li><a href="/community/">Community</a></li>
+ </ul>
+ </div>
- </div>
- </div><!-- /.navbar -->
+ </div>
+ </div><!-- /.navbar -->
- <div class="container">
+ <div class="container">
- <%= yield %>
+ <%= yield %>
- <hr>
+ <hr>
- <!-- footer -->
- <div class="footer">
- <p>© 2012-2016 <a href="http://apache.org">The Apache Software Foundation</a>.
- Apache Mesos, the Apache feather logo, and the Apache Mesos project logo are trademarks of The Apache Software Foundation.<p>
- </div><!-- /footer -->
+ <!-- footer -->
+ <div class="footer">
+ <p>© 2012-2016
+ <a href="http://apache.org">The Apache Software Foundation</a>.
+ Apache Mesos, the Apache feather logo, and the Apache Mesos project logo
+ are trademarks of The Apache Software Foundation.
+ <p>
+ </div><!-- /footer -->
- </div> <!-- /container -->
+ </div><!-- /container -->
- <!-- JS -->
- <%= javascript_include_tag '//code.jquery.com/jquery-1.11.0.min.js' %>
- <%= javascript_include_tag '//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js' %>
- </body>
+ <!-- JS -->
+ <%= javascript_include_tag '//code.jquery.com/jquery-1.11.0.min.js' %>
+ <%= javascript_include_tag '//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js' %>
+ </body>
</html>
http://git-wip-us.apache.org/repos/asf/mesos/blob/6e504201/site/source/layouts/post.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/post.erb b/site/source/layouts/post.erb
index 89b2b70..fdb566b 100755
--- a/site/source/layouts/post.erb
+++ b/site/source/layouts/post.erb
@@ -4,47 +4,48 @@ Blog
<% wrap_layout :layout do %>
<div class="row">
-<div class="col-md-3">
- <div class="meta">
- <span class="author">
- <% if current_page.data.post_author.gravatar %>
- <img src="http://www.gravatar.com/avatar/<%= current_page.data.post_author.gravatar %>?s=80" class="author_gravatar">
- <% end %>
- <span class="author_contact">
- <p><strong><%= current_page.data.post_author.display_name %></strong></p>
- <p><a href="http://twitter.com/<%= current_page.data.post_author.twitter %>">@<%= current_page.data.post_author.twitter %></a></p>
- </span>
- </span>
- <p><em>Posted <%= current_article.date.strftime("%B %e, %Y") %></em></p>
- </div>
-
- <div class="share">
- <span class="social-share-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="apachemesos">Tweet</a></span>
-
- <span><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></span>
-
- <span><div class="g-plusone" data-size="medium"></div></span>
-
- <!-- Place this tag after the last +1 button tag. -->
- <script type="text/javascript">
- (function() {
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
- po.src = 'https://apis.google.com/js/plusone.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
- })();
- </script>
-
- <script src="//platform.linkedin.com/in.js" type="text/javascript">
- lang: en_US
- </script>
- <script type="IN/Share" data-counter="right"></script>
- </div>
-</div>
+ <div class="col-md-3">
+ <div class="meta">
+ <span class="author">
+ <% if current_page.data.post_author.gravatar %>
+ <img src="http://www.gravatar.com/avatar/<%= current_page.data.post_author.gravatar %>?s=80"
+ class="author_gravatar">
+ <% end %>
+ <span class="author_contact">
+ <p><strong><%= current_page.data.post_author.display_name %></strong></p>
+ <p><a href="http://twitter.com/<%= current_page.data.post_author.twitter %>">@<%= current_page.data.post_author.twitter %></a></p>
+ </span>
+ </span>
+ <p><em>Posted <%= current_article.date.strftime("%B %e, %Y") %></em></p>
+ </div>
-<div class="post col-md-9">
- <h1><%= current_page.data.title %></h1>
-
- <%= yield %>
-</div>
+ <div class="share">
+ <span class="social-share-button"><a href="https://twitter.com/share" class="twitter-share-button" data-via="apachemesos">Tweet</a></span>
+
+ <span><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></span>
+
+ <span><div class="g-plusone" data-size="medium"></div></span>
+
+ <!-- Place this tag after the last +1 button tag. -->
+ <script type="text/javascript">
+ (function() {
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
+ })();
+ </script>
+
+ <script src="//platform.linkedin.com/in.js" type="text/javascript">
+ lang: en_US
+ </script>
+ <script type="IN/Share" data-counter="right"></script>
+ </div>
+ </div>
+
+ <div class="post col-md-9">
+ <h1><%= current_page.data.title %></h1>
+
+ <%= yield %>
+ </div>
</div>
<% end %>
\ No newline at end of file