view _includes/header.html @ 138:88f15c74aa24

Announce OctConf 2018 with alert-box. * _includes/header.html: Add a closeable banner to each page. * _includes/head.html: Include foundation.alert.js.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 22 Jan 2018 23:44:32 +0100
parents 40babc87d1bc
children 78b9661d8a36
line wrap: on
line source

<div class="no-js fixed contain-to-grid">
  <nav class="no-js top-bar" data-topbar role="navigation">
    <ul class="title-area">
      <li class="name">
        <h1>
          <a href="{{ "/" | relative_url }}" style="height:100%">
            <img src="{{ "/img/octave-logo.svg" | relative_url }}"
                 style="width: 32px; height: auto" alt="GNU Octave logo">
            {{ site.title }}
          </a>
        </h1>
      </li>
      <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
      <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
    </ul>

    <section class="top-bar-section">
      <!-- Right Nav Section -->
      <ul class="right">
        {% for page in site.pages %}
          {% if page.menu %}
            <li>
              <a href="{{ page.url | relative_url }}">{{ page.title }}</a>
            </li>
          {% endif %}
        {% endfor %}
        <li>
          <a href="{{site.docs_url}}">Docs</a>
        </li>
      </ul>
    </section>
  </nav>
</div>

<div data-alert class="alert-box info radius" style="font-weight:bold; text-align:center;">
  Join us March 12-15 at CERN near Geneva Switzerland for
  <a href="https://wiki.octave.org/OctConf_2018">OctConf 2018</a>.
  <a href="#" class="close">&times;</a>
</div>