Sha256: 53fb85950727ce6509ecb2289d1c4281522fdd037c027bdcccb2264cc5dcf4d1

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

{% assign author = page.author | default: page.authors[0] | default: site.author %}
{% if author %}
  {% if author.name %}
    {% assign author_name = author.name %}
  {% else %}
    {% if site.data.authors and site.data.authors[author] %}
      {% assign author_name = site.data.authors[author].name %}
    {% else %}
      {% assign author_name = author %}
    {% endif %}
  {% endif %}

  {% if author.picture %}
    {% assign author_picture = author.picture %}
  {% else %}
    {% if site.data.authors and site.data.authors[author] %}
      {% assign author_picture = site.data.authors[author].picture %}
    {% endif %}
  {% endif %}
  {% assign author_picture = author_picture | relative_url %}

  {% if author.twitter %}
    {% assign author_twitter = author.twitter %}
  {% else %}
    {% if site.data.authors and site.data.authors[author] %}
      {% assign author_twitter = site.data.authors[author].twitter %}
    {% else %}
      {% assign author_twitter = site.twitter_username %}
    {% endif %}
  {% endif %}
{% endif %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-basically-basic-1.4.5 _includes/author