Sha256: b5a6b5f71708390162bf5db53e2b4f7cb63a29573f8cf397023b1c2c2ecadb90

Contents?: true

Size: 1.26 KB

Versions: 8

Compression:

Stored size: 1.26 KB

Contents

{% if site.avatar -%}
  <div class="sidebar-section">
    {%- if site.avatar contains "://" -%}
      {%- assign avatar = site.avatar -%}
    {%- else -%}
      {%- assign avatar = site.avatar | relative_url -%}
    {%- endif -%}
    <img src="{{ avatar }}" class="author-avatar u-photo align-center" alt="{{ site.author }}">
  </div>
{%- endif %}

<div class="sidebar-section">
  <ul class="contact-list">
    {% if site.author -%}
      <li class="p-name"><i class="sidebar-icon fas fa-at"></i><span>{{ site.author | escape }}</span></li>
    {%- endif %}
    {% if site.email -%}
      <li><a class="u-email" href="mailto:{{ site.email }}"><i class="sidebar-icon fas fa-envelope"></i><span>{{ site.email }}</span></a></li>
    {%- endif %}
  </ul>
</div>

<div class="sidebar-section feed-subscribe">
  <a href="{{ 'feed.xml' | relative_url }}">
    <i class="sidebar-icon fas fa-rss"></i><span>Subscribe</span>
  </a>
</div>

{% if site.data.social -%}
  <div class="sidebar-section">
    <ul class="social-icons">
      {% for social in site.data.social -%}
        <li>
          <a class="social-icon" href="{{ social.url }}"><i class="{{ social.icon | default: 'fas fa-link' }} fa-2x" title="{{ social.title }}"></i></a>
        </li>
      {%- endfor %}
    </ul>
  </div>
{%- endif %}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-theme-hamilton-3.1.0 _includes/sidebar.html
jekyll-theme-hamilton-3.0.0 _includes/sidebar.html
jekyll-theme-hamilton-2.0.0 _includes/sidebar.html
jekyll-theme-hamilton-1.4.4 _includes/sidebar.html
jekyll-theme-hamilton-1.4.3 _includes/sidebar.html
jekyll-theme-hamilton-1.4.2 _includes/sidebar.html
jekyll-theme-hamilton-1.4.1 _includes/sidebar.html
jekyll-theme-hamilton-1.4.0 _includes/sidebar.html