File: post.html

package info (click to toggle)
rocksdb 5.17.2-3
  • links: PTS
  • area: main
  • in suites: buster
  • size: 21,164 kB
  • sloc: cpp: 253,035; java: 24,114; perl: 5,769; python: 4,093; ansic: 4,092; sh: 3,861; makefile: 1,754; asm: 547; php: 254; xml: 30
file content (35 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<div class="post">
  {% assign author = site.data.authors[page.author] %}
  <header class="post-header">
    {% if author.fbid %}
    <div class="authorPhoto">
      <img src="http://graph.facebook.com/{{ author.fbid }}/picture/" alt="{{ author.fullname }}" title="{{ author.fullname }}" />
    </div>
    {% endif %}
    {% if author.full_name %}
    <p class="post-authorName">{{ author.full_name }}</p>
    {% endif %}
    <h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
    <p class="post-meta">Posted {{ page.date | date: '%B %d, %Y' }}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
  </header>

  <article class="post-content">
  {% if include.truncate %}
    {% if page.content contains '<!--truncate-->' %}
      {{ page.content | split:'<!--truncate-->' | first | markdownify }}
      <div class="read-more">
        <a href="{{ page.url | absolute_url }}" >
          Read More
        </a>
      </div>
    {% else %}
      {{ page.content | markdownify }}
    {% endif %}
  {% else %}
    {{ content }}
  {% endif %}
  {% unless include.truncate %}
    {% include plugins/like_button.html %}
  {% endunless %}
  </article>
</div>