Sha256: bc9a7801bc20af482999c95f61790848d8e82f7b9dc0203ccaeab8506b5bc378

Contents?: true

Size: 1.34 KB

Versions: 43

Compression:

Stored size: 1.34 KB

Contents

{% assign username = page.username %}
{% assign entries = site.posts | where: "author", username %}
{% assign limit = page.posts.section.limit %}

{% if page.posts.section.visible == true %}
<section class="container my-5 text-center">

  {% if page.posts.section.icon %}
  <i class="h1 {{ page.posts.section.icon }}"></i>
  {% endif %}

  {% if page.posts.section.name %}
  <h1>{{ page.posts.section.name }}</h1>
  {% endif %}

  {% if page.posts.section.preamble %}
  <p>{{ page.posts.section.preamble }}</p>
  {% endif %}

  {% if entries.size > 0 %}
  <div class="card-group">
  {% for i in entries limit: limit %} {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
  <div class="card">
    <a href="{{ site.url }}{{ site.baseurl }}{{ i.url }}"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ i.with_image }}" class="card-img-top" alt="{{ i.name }}"></a>
    <div class="card-body">
      <h4 class="card-title"><a href="{{ site.url }}{{ site.baseurl }}{{ i.url }}">{{ i.title }}</a></h4>
      <p class="card-text">{{ i.excerpt | strip_html }}</p>
      <p class="card-text"><small class="text-body-secondary">{{ i.date | date: "%b %d, %Y"}}</small></p>
    </div>
  </div>
  {% endfor %}
  </div>
  {% else %}
  <div class="alert alert-light border shadow" role="alert">Nothing posted here, yet.</div>
  {% endif %}

</section>
{% endif %}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
jekyll-theme-centos-2.51.0 _includes/people/posts.html
jekyll-theme-centos-2.50.0 _includes/people/posts.html
jekyll-theme-centos-2.49.0 _includes/people/posts.html
jekyll-theme-centos-2.48.0 _includes/people/posts.html
jekyll-theme-centos-2.47.0 _includes/people/posts.html
jekyll-theme-centos-2.46.1 _includes/people/posts.html
jekyll-theme-centos-2.46.0 _includes/people/posts.html
jekyll-theme-centos-2.45.0 _includes/people/posts.html
jekyll-theme-centos-2.44.0 _includes/people/posts.html
jekyll-theme-centos-2.43.0 _includes/people/posts.html
jekyll-theme-centos-2.42.0 _includes/people/posts.html
jekyll-theme-centos-2.41.0 _includes/people/posts.html
jekyll-theme-centos-2.40.0 _includes/people/posts.html
jekyll-theme-centos-2.39.0 _includes/people/posts.html
jekyll-theme-centos-2.38.0 _includes/people/posts.html
jekyll-theme-centos-2.37.0 _includes/people/posts.html
jekyll-theme-centos-2.36.0 _includes/people/posts.html
jekyll-theme-centos-2.35.0 _includes/people/posts.html
jekyll-theme-centos-2.34.0 _includes/people/posts.html
jekyll-theme-centos-2.33.0 _includes/people/posts.html