Sha256: 75255c1c7c101048a47db3a990b2d253a9a380b7bf0b18ff8bb9053bf9278a62

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

<!doctype html>
<html lang="en">
  {% include header.html %}
  <body>
    {% include logo.html %}

    <section class="center-align">
      <article>
        <header>
          {% if page.image %}
          <img width="100%" src="{{ page.image }}" alt="{{ page.source }}" />
          {% endif %}

          <h1>{{ page.title }}</h1>
          {% assign ymd = page.date | date: "%Y-%M-%D" %}
          {% assign date = page.date | date: site.acn.date_format %}
          <time pubdate datetime="{{ ymd }}" title="{{ date }}">{{ date }}</time>

          {% include writer.html info=page %}
          {% if writer_url %}
            <address><a rel="author" href="{{ writer_url }}">{{ writer }}</a></address>
          {% else %}
            <address rel="author">{{ writer }}</address>
          {% endif %}
        </header>

        <div class="text">{{ page.content }}</div>

        {% if page.tags %}
        <div class="spacer tags">
          {% for tag in page.tags %}
            <small><a href="/hashtags/{{ tag }}">{{ tag }}</a></small>
          {% endfor %}
        </div>
        {% endif %}

        {% if page.source and page.source_url %}
        <div class="middle-align source">
          <span class="material-icons">source</span>
          <div>
            Source:
            <a target="_blank" rel="noopener noreferrer"
              href="{{ page.source_url }}">{{ page.source }}</a>
          </div>
        </div>
        {% endif %}
      </div>
    </section>

    {% include post/paginator.html %}
    {% include footer.html %}
    {% include foot/mathjax.html -%}
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
askclass-news-theme-0.6.0 _layouts/post.html
askclass-news-theme-0.5.0 _layouts/post.html