Sha256: c7e67edb1334693f0c330340d994cf57ab88b30388cc8986282686fe74b008b6

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

---
layout: default
---
{% include share_thumbnail.html page=page %}

<article {% if page.feature-img or page.color %}class="feature-image"{% endif %}>
  <header id="main" style="">
    {% unless page.hide_title %}
      <h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
      {% include post_info.html post=page %}
    {% endunless %}
  </header>
  <section class="post-content">
  {% if page.bootstrap %}
    <div class="bootstrap-iso">
    {% endif %}
      {{ content }}
    {% if page.bootstrap %}
    </div>
  {% endif %}
  </section>

  <!-- Social media shares -->
  {% include share_buttons.html %}

   <!-- Tag list -->
  {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
  {% include tags_list.html tags=tag_list %}

</article>

<!-- Disqus -->
{% if site.theme_settings.disqus_shortname %}
<div class="comments">
  {% include disqus.html %}
</div>
{% endif %}

<!-- Post navigation -->
{% if site.theme_settings.post_navigation %}
  {% include post_nav.html %}
{% endif %}

<!-- To change color of links in the page -->
<style>
  {% if page.color %}
    .feature-image a { color: {{ page.color }} !important; }
    div#post-nav a { color: {{ page.color }} !important; }
    footer a { color: {{ page.color }} !important; }
    .site-header nav a:hover {  color: {{ page.color }} !important; }
    header#main { background-color: {{ page.color }} !important; }
  {% endif %}

  header#main {
    background-repeat:no-repeat;
    {% if page.feature-img %} background-image: url('{{ page.feature-img | relative_url }}');
    {% elsif page.color %}background-image: url('{{ site.theme_settings.color_image | relative_url }}');  {% endif %}
  }
</style>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
type-on-strap-1.5.0 _layouts/post.html