Sha256: f85fbd6952313fd88b4a79dd76fa4ed839621efd748ce3249750d263f47ee716

Contents?: true

Size: 1.14 KB

Versions: 9

Compression:

Stored size: 1.14 KB

Contents

{% if post %}
{% elsif page %}
  {% assign post = page %}
{% endif %}
<section id="{{ post.id | sha1:8 }}" class="active">
  {% include post_header.html %}

  {{ post.content }}
    {% if post.audio %}
      {% for file in post.audio %}
        {% if post.filesize %}
          <a class="btn btn-info" 
          href="{{ site | download_url_with_fallback }}/{{ file.last }}">Download .{{ file.first }} ({{ post | size_by_format: file.first | in_megabytes }})</a>
        {% else %}
          <a class="btn btn-info" 
            href="{{ site | download_url_with_fallback }}/{{ file.last }}">Download .{{ file.first }} ({{ file.last | file_size:'./' | string_of_size }})</a>
        {% endif %}
      {% endfor %}
    {% endif %}
  <hr>
  {{ site | flattr_button:post }}
  <a href="https://twitter.com/share"
     class="button btn-primary btn-sm"
     data-url="{{ site.url }}{{post.url }}"
     data-text="{{ post.title }}">
    <i class="fab fa-twitter"></i> Tweet</a>
  {% unless page.url == '/index.html' %}{% include disqus_thread.html %}{% endunless %}
  {% unless page.url == '/index.html' %}{% include isso_thread.html %}{% endunless %}
  <hr>
</section>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jekyll-octopod-0.9.23 assets/_includes/post.html
jekyll-octopod-0.9.22 assets/_includes/post.html
jekyll-octopod-0.9.21 assets/_includes/post.html
jekyll-octopod-0.9.20 assets/_includes/post.html
jekyll-octopod-0.9.19 assets/_includes/post.html
jekyll-octopod-0.9.18 assets/_includes/post.html
jekyll-octopod-0.9.17 assets/_includes/post.html
jekyll-octopod-0.9.15 assets/_includes/post.html
jekyll-octopod-0.9.14 assets/_includes/post.html