diff options
author | Andy Konwinski <andrew@apache.org> | 2013-08-23 17:17:53 +0000 |
---|---|---|
committer | Andy Konwinski <andrew@apache.org> | 2013-08-23 17:17:53 +0000 |
commit | 81d6089b47ec4d3e7fe17074f3b5fadec8070071 (patch) | |
tree | 1401e9f4bc6e1b9f4596ebecc5b7332d9ed96f3a /_includes | |
parent | 71bac61ea11df8144a9a3d2be75ef996517b136d (diff) | |
download | spark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.tar.gz spark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.tar.bz2 spark-website-81d6089b47ec4d3e7fe17074f3b5fadec8070071.zip |
Initial port of Spark website from spark-project.org wordpress to Jekyll.
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/footer.html | 6 | ||||
-rw-r--r-- | _includes/navbar.html | 23 |
2 files changed, 29 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 000000000..101cdba8e --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,6 @@ +<footer id="colophon" role="contentinfo"> + <div id="site-generator"> + <p>Spark is an open source project developed at the UC Berkeley <a href="https://amplab.cs.berkeley.edu">AMPLab</a>.</p> + <a class="amp-logo" style="background:url({{site.url}}images/amplab-small.png)" href="https://amplab.cs.berkeley.edu/" title="Brought to you by the UC Berkeley AMPLab." rel="generator"><!--Brought to you by the UC Berkeley AMPLab--> </a> + </div> +</footer><!-- #colophon --> diff --git a/_includes/navbar.html b/_includes/navbar.html new file mode 100644 index 000000000..c7e68fd58 --- /dev/null +++ b/_includes/navbar.html @@ -0,0 +1,23 @@ +<header id="branding" role="banner"> + <hgroup> + <h1 id="site-title"><span><a href="{{site.url}}" title="Spark" rel="home">Spark</a></span></h1> + <h2 id="site-description">Lightning-Fast Cluster Computing</h2> + </hgroup> + + <a href="{{site.url}}"> + <img src="{{site.url}}images/spark-project-header1.png" width="1000" height="220" alt="Spark: Lightning-Fast Cluster Computing" title="Spark: Lightning-Fast Cluster Computing" /> + </a> + + <nav id="access" role="navigation"> + <h3 class="assistive-text">Main menu</h3> + <div class="menu-main-menu-container"> + <ul id="menu-main-menu" class="menu"> + {% for p in site.navigation %} + <li class="menu-item menu-item-type-post_type menu-item-object-page {% if p.title == page.title %}current-menu-item{% endif %}"> + <a href="{{site.url}}{{p.url | replace:'/',''}}">{{p.title}}</a> + </li> + {% endfor %} + </ul></div> + </nav><!-- #access --> +</header><!-- #branding --> + |