Sha256: 56f778d2ec3a7611a7779c2c4aa303e6e5ee1d2782966ef491df991d9e17aaa7

Contents?: true

Size: 819 Bytes

Versions: 5

Compression:

Stored size: 819 Bytes

Contents

{% if site.logo contains '://' %}
  {% assign site_logo = site.logo %}
{% else %}
  {% assign site_logo = site.logo | relative_url %}
{% endif %}

<header id="masthead">
  <div class="inner">
    <div class="title-area">
      {% if page.url == '/' %}
        <h1 class="site-title">
          <a href="{{ '/' | relative_url }}">
            {% if site.logo %}<img src="{{ site_logo }}" alt="" class="site-logo">{% endif %}
            <span>{{ site.title | escape }}</span>
          </a>
        </h1>
      {% else %}
        <p class="site-title">
          <a href="{{ '/' | relative_url }}">
            {% if site.logo %}<img src="{{ site_logo }}" alt="" class="site-logo">{% endif %}
            <span>{{ site.title | escape }}</span>
          </a>
        </p>
      {% endif %}
    </div>
  </div>
</header>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-basically-basic-1.4.4 _includes/masthead.html
jekyll-theme-basically-basic-1.4.3 _includes/masthead.html
jekyll-theme-basically-basic-1.4.2 _includes/masthead.html
jekyll-theme-basically-basic-1.4.1 _includes/masthead.html
jekyll-theme-basically-basic-1.4.0 _includes/masthead.html