Sha256: 7fadcedf1bdd121adf1130ce6b229dd19ba52b5cba8219d5da624c7af6d9743b
Contents?: true
Size: 1.67 KB
Versions: 4
Compression:
Stored size: 1.67 KB
Contents
--- layout: default --- {% if page.cover %} <div class="jumbotron jumbotron-fluid mb-5" style="position:relative;background-image:url('{{ page.cover }}');background-size:cover;background-position:center; height: 65vh; color:white;"> <div class="container" style="position: absolute; bottom: 0;background:rgba(0,0,0,.7); width:100%; max-width:none; text-shadow: rgb(0, 0, 0) 1px 2px;"> <div class="row"> <div class="offset-1 col-11"> <h1 class="display-3 text-uppercase">{{ page.long_title | escape }}</h1> <p class="lead" style="font-weight:400; padding:1% 0;">{{ page.description }}</p> </div> </div> </div> </div> {% endif %} <main class="container mt-10" aria-label="Content"> <article class="row"> {% if page.cover == null %} <div class="col-12"> <h1 class="display-5 text-uppercase">{{ page.long_title | escape }}</h1> <p class="lead" style="font-weight:400; padding:1% 0;">{{ page.description }}</p> </div> {% endif %} {% if content %} <div class="col"> {{ content | inject_anchors }} </div> {% endif %} {% if page.toc or site.resources %} <div class="col-12 col-md-4"> {% if site.resources %} {% include resources.html %} {% endif %} {% if page.toc %} <h4>Contents</h4> {{ content | toc_only }} {% endif %} {% assign ad = page.ad | default: site.ad %} {% if ad %} {% include ad.html %} {% endif %} </div> {% endif %} <!-- <header class="col-12"> <h1 class="page-title">{{ page.title | escape }}</h1> </header> --> </article> </main>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
solar-flair-0.2.6 | _layouts/page.html |
solar-flair-0.2.5 | _layouts/page.html |
solar-flair-0.2.4 | _layouts/page.html |
solar-flair-0.2.3 | _layouts/page.html |