Sha256: 31e8dd688336b41339bafc051246514c3129fd7a8542c3e6332f0c3f42ac5a89

Contents?: true

Size: 788 Bytes

Versions: 4

Compression:

Stored size: 788 Bytes

Contents

{%- comment -%}

Author block

@param :title [String] Alias
@param :link [array] link's
{%- endcomment -%}

{% assign links = include.links %}

{% unless links == empty %}
  <div class="">
    <div class="py-3">
      <a href="{{include.title.url}}" class="hover-black">
      {% include headings/h3.html text=include.title.alias class="black source-serif font-weight-bold" %}
      </a>
    </div>

    {% unless links == empty %}
      <div class="background-lighter-blue text-monospace text-left p-3 mt-2 mb-2 rounded">
        {% for link in links %}
        <li class="list-unstyled">
          <a class="black hover-white" href="{{- link -}}" target="_blank" rel="noopener">{{ link }}</a>
        </li>
        {% endfor %}
      </div>
    {% endunless %}
  </div>
{% endunless %}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compost-jekyll-theme-0.3.8 _includes/author_block.html
compost-jekyll-theme-0.3.7 _includes/author_block.html
compost-jekyll-theme-0.3.6 _includes/author_block.html
compost-jekyll-theme-0.3.5 _includes/author_block.html