Sha256: eb1f9e53787269edce6738862d3df6948d7f7860d15149aed543e546662f0aa7

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

---
layout: default
---
  <div class="post-wrapper">
    <div class="lead-wrap">
      <div class="post-summary">
      <h3 class="summary-publication without-style"><a href="{%- for link in site.data.global-nav -%}{%- if page.publication == link.text -%}{{ link.link }}{%- endif -%}{%- endfor -%}">{{ page.publication }}</a></h3>
      <h1 class ="summary-title">{{ page.title }}
        <hr class="bar">
      </h1>
      <div class="summary-details">
        <p class="details-time">{% capture time %}{{ page.content | reading_time }}{% endcapture %} {{ time }} min read</p>
        {%- assign author = site.data.experts | where_exp:"expert", "expert.name == page.author" -%}
          {%- if author.size > 0 -%}
          <p class="details-author">By <a href="{{author[0].link}}">{{author[0].name}}</a></p>
          {%- else -%}
          <p class="details-author">By {{ page.author | markdownify | remove:"<p>" | remove:"</p>"}}</p>
          {%- endif -%}
        <p>Tags: {% for tag in page.tags %}<a href=" ">{{ tag }}</a> {% unless forloop.last %}<span class="seperator">/</span> {% endunless %} {% endfor %}</p>
      </div>
      <div class="summary-summary">
      {{ page.summary }}
      </div>
    </div>
    <div class="post-image" style="background-image: url({{ page.featured-image }})"></div>
    </div>
    
    <div class="post-body">
      {{content}}
    </div>
  </div> 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
daiblogs-0.2.1 _layouts/post.html
daiblogs-0.2.0 _layouts/post.html