summaryrefslogtreecommitdiff
path: root/templates/article.html
blob: 8eef256ecf836e2268f957ff501c3346e935dcb7 (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
<article>
  <h1><a href="{link|html-attr-value}">{title|html}</a></h1>

  <div class="article-header">
    <header>
      <span class="article-date">
        <time pubdate="pubdate" datetime="{publishing-date|html-iso-date}">
          {publishing-date|html-human-date}
        </time>
      </span>
    </header>
  </div>

  <div class="article-body">
    {body}
  </div>

  <div class="article-footer">
    <footer>
      <form class="article-edit-button-form"
            style="display: inline;"
            action="{edit-link|html-attr-value}"
            method="get">
        <div style="display: inline;">
          <input name="id" type="hidden" value="106" />
          <input type="submit" value="{edit-button-label|html-attr-value}" />
        </div>
      </form>
      |
      <a href="{comment-feed|html-attr-value}">{comment-feed-label|html}</a>
      |
      <a href="{comment-feed|html-attr-value}">{comments-label|html}</a>
    </footer>
  </div>
</article>