Sha256: 7c52e87fddc013a771db9d769bfe48603341446beb8c2fc72c6e6ec9d4c83d06

Contents?: true

Size: 1.48 KB

Versions: 5

Compression:

Stored size: 1.48 KB

Contents

{% assign username = page.username %}
{% assign entries = site.posts | where: "username", username %}
{% assign person = site.data.centos.people | where: "username", username %}

{% if entries.size > 0 %}
{% for item in person %}
<div class="container py-5 text-center border-top"{% if item.posts.section.highlight == true %} style="background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(248,249,250,0) 100%);"{% endif %}>

  <div class="row">
    <div class="col">
      {% if item.posts.section.icon %}<div class="display-6">{{ item.posts.section.icon }}</div>{% endif %}
      {% if item.posts.section.name %}<div class="display-6">{{ item.posts.section.name }}</div>{% endif %}
      {% if item.posts.section.preamble %}<p>{{ item.posts.section.preamble }}</p>{% endif %}
    </div>
  </div>

  <div class="row text-start">
    <div class="col">
      <div class="list-group shadow">
        {% for i in entries limit:5 %}
        {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
        <a href="{{ i.link }}" class="list-group-item list-group-item-action">
          <div class="d-flex gap-2w-100 justify-content-between">
            <h5 class="pt-0 mt-1 mb-1 fw-bold text-primary">{{ i.title }}</h5>
            <small class="text-muted">{{ i.date | date: date_format }}</small>
          </div>
          <p class="mb-1">{{ i.excerpt | strip_html | slice: 0,150 }}...</p>
        </a>
        {% endfor %}
      </div>
    </div>
  </div>

</div>
{% endfor %}
{% endif %}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-centos-2.2.0.beta.9 _includes/people/posts.html
jekyll-theme-centos-2.2.0.beta.8 _includes/people/posts.html
jekyll-theme-centos-2.2.0.beta.7 _includes/people/posts.html
jekyll-theme-centos-2.2.0.beta.6 _includes/people/posts.html
jekyll-theme-centos-2.2.0.beta.5 _includes/people/posts.html