Sha256: 7fce90effb5d6f4932234d503e1cb13b67d32e5f24fd14e357388c546ef1f6bc

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 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>
          <small>{{ page.date | date: site.acn.date_format }}</small>

          {% include writer.html info=page %}
          {% if writer_url %}
            <h5><a href="{{ writer_url }}">{{ writer }}</a></h5>
          {% else %}
            <h5>{{ writer }}</h5>
          {% 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 %}
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
askclass-news-theme-0.4.2 _layouts/post.html
askclass-news-theme-0.4.1 _layouts/post.html
askclass-news-theme-0.4.0 _layouts/post.html