Sha256: aa6b148669aed5c120d75a1d58162c39855d3f7166e993461736c928f81b748e
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
{% comment %}background is defined in head.html{% endcomment %} {% if background %} <header class="header bg-image" style="background-image: url('{{ background | relative_url }}')"> {% else %} <header class="header bg-no-image"> {% endif %} <div class="container"> <div class="row"> <div class="col-md-10 col-lg-8 position-relative mx-auto"> <h1{% if page.layout == 'home' %} class="home"{% endif %}>{{ page.title }}</h1> <div class="lead">{{ page.description | markdownify }}</div> {% if page.collection == 'posts' %} <p class="meta"> <time>{{ page.date | date: '%B %d, %Y' }}</time> {% if page.author or page.authors %} • {{ page.author | join: ', ' }}{{ page.authors | join: ', ' }} {% endif %} </p> {% endif %} <div class="tags"> {% if page.collection == 'posts' and page.tags and site.archive_permalink %} {% for tag in page.tags %} <a class="badge{% if site.rounded_corners != false %} rounded-pill{% endif %}" href="{{ site.archive_permalink | relative_url }}?tag={{ tag | url_encode }}">{{ tag }}</a> {% endfor %} {% endif %} </div> </div> </div> </div> {% if page.background.img and page.background.by %} <div class="caption d-print-none"> {% if page.background.href %} Image by <a href="{{ page.background.href }}">{{ page.background.by }}</a> {% else %} Image by {{ page.background.by }} {% endif %} </div> {% endif %} </header>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-petridish-3.1.0 | _includes/header.html |