summaryrefslogtreecommitdiff
path: root/_layouts/post.html
blob: c78b2cc934ca50984f2efee4b87f2e117ae59d19 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
---
layout: default
---
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

  <header class="post-header">
    <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
    <p class="post-meta">
      <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
        {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
        {%- assign date_format = "%A, %e. %B %Y, %k:%M" -%}
        {{ page.date | date: date_format }}
      </time>
      {%- if page.last_modified_at -%}
      •
      <time class="dt-updated" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateUpdated">
        Updated: {{ page.last_modified_at | date: date_format }}
      </time>
      {%- endif -%}

      {%- if page.author -%}
        • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
      {%- endif -%}
      {%- if page.categories.size != 0 -%}
      • <span>Kategorie: {% for cat in page.categories %}
	      {%- assign catlink = "/category/" | append: cat | append: "/" -%}
	      <a href="{{ catlink | relative_url }}">{{ cat }}</a> {%- if forloop.last != true -%}, {%- endif -%}
	      {%- endfor %}
      </span>
      {%- endif -%}
    </p>
  </header>

  {% if page.blogger_id %}
    <p><em>Dieser Post wurde ursprünglich auf blogger.com / uvok.blogspot.com veröffentlicht.</em></p>
  {% endif %}

  {% if page.ljimport %}
    <p><em>Dieser Post wurde ursprünglich auf livejournal.com veröffentlicht.</em></p>
  {% endif %}

  <div class="post-content e-content" itemprop="articleBody">
    {{ content }}
  </div>

  <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article>

{% include commentNotice.html %}

<!-- <script src="/assets/js/extLinks.js"></script> -->