Sha256: 7d58ccf542cc89a8e338791c6764b342d87bbe314d46aca8351f35171ec173ae

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

<!--[if lt IE 10]>
<div class="upgrade"><strong><a href="http://whatbrowser.org/" target="_blank">Your browser is quite old!</strong> Why
  not upgrade to a different browser to better enjoy this site?</a></div>
<![endif]-->

{% assign homeActive = 'active' %}
{% if page.hideHomeActive %}
{% assign homeActive = nil %}
{% endif %}
<div class="header-menu" id="J_header">
  <ul class="header-item-container">
    <li class="header-item-title {{homeActive}}">
      <a href="{{site.url}}/" class="title"> {{ site.title }}</a>
    </li>
    {% for menu in site.menu reversed %}

    {% assign class = nil %}
    {% if (page.url contains menu.url and menu.url != '/') %}
    {% assign class = 'active' %}
    {% endif %}

    {% if menu.url contains 'http://' or menu.url contains 'https://' %}
    <li class="header-item {{class}}"><a href="{{menu.url}}" target="_blank">{{ menu.title }}</a></li>
    {% else %}
    <li class="header-item {{class}}"><a href="{{site.url}}{{menu.url}}">{{ menu.title }}</a></li>
    {% endif %}
    {% endfor %}
  </ul>
</div>

<div class="entry-header">
  <svg width="100%" height="200" xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
    <path id="svg-title-path">
      <animate attributeName="d" from="m0,110 h0" to="m0,110 h1100" dur="2s" repeatCount="1" fill="freeze" begin="0s" />
    </path>
    <text font-size="36" fill='#ffffff' x="50%" y="50%" text-anchor="middle">
      <textPath xlink:href="#svg-title-path">{{ page.title }}</textPath>
    </text>
  </svg>
  <canvas id="J_firework_canvas"></canvas>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cosy-jekyll-theme-1.1.0 _includes/header.html
cosy-jekyll-theme-1.0.8 _includes/header.html
cosy-jekyll-theme-1.0.7 _includes/header.html