Sha256: 71a6655a78782eb08af263229051fd0a2904036a6c5db332bcc62f03cc327a00

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

{% assign profile = include.account | prepend: "https://twitter.com/" %}
{% assign permalink = include.id | prepend: "/status/" | prepend: profile %}

<div class="twitter-card">
  <header>
    <a class="account" href="{{ profile }}">
      <img class="avatar" src="{{ include.avatar }}" />
      <strong>{{ include.name }}</strong>
      <p>@{{ include.account }}</p>
    </a>
    <a href="{{ permalink }}">
      <img class="logo" src="/images/twitter.svg" />
    </a>
  </header>

  <p>{{ include.contents }}</p>

  <footer>
    <a href="{{ permalink }}">
      <span>View on Twitter →</span>
      <time datetime="{{ include.timestamp | date:"%Y-%m-%d" }}">{{ include.timestamp | date: "%b %e, %Y" }}</time>
    </a>
  </footer>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-elementary-blog-1.0.1 _includes/twitter-card.html