File: post.html

package info (click to toggle)
rocksdb 9.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 46,052 kB
  • sloc: cpp: 500,768; java: 42,992; ansic: 9,789; python: 8,373; perl: 5,822; sh: 4,921; makefile: 2,386; asm: 550; xml: 342
file content (40 lines) | stat: -rw-r--r-- 1,547 bytes parent folder | download | duplicates (11)
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
36
37
38
39
40
<div class="post">
  <header class="post-header">
    <div style="display: flex; align-content: center; align-items: center; justify-content: center">
    {% for author_idx in page.author %}
      <div style="padding: 16px; display: inline-block; text-align: center">
        {% assign author = site.data.authors[author_idx] %}
        {% 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 %}
      </div>
    {% endfor %}
    </div>
    <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>