summaryrefslogtreecommitdiff
path: root/templates/journal_page.html
blob: 978b3f0162ce06fbd8eed34115009d18fbcac400 (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
{.section head}
  <link rel="stylesheet" type="text/css"
        href="{root|html-attr-value}style/journal.css" />
  <link href="/journal/prettify/prettify.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/journal/prettify/prettify.js"></script>
  <script type="text/javascript" src="/journal/prettify/lang-lisp.js"></script>
{.end}

{.section body}
  <h1 id="main-title">{site-name|html}</h1>
  <div id="main-subtitle">{site-subtitle|html}</div>

  <div id="articles">
  {.repeated section articles}
    {@|article-html}
  {.end}
  </div>

  {.section minor-articles}
  <div class="old-entries">
    <h2>&#196;ltere Eintr&#228;ge</h2>
    <p><a href="{full-archive-link|html-attr-value}" rel="archives">{full-archive-label|html}</a></p>
    <table class="old-entry-table">
      <caption>Eintr&#228;ge nach Datum</caption>
      <thead>
        <tr>
          <th scope="col">Titel</th>
          <th scope="col">Datum</th>
          <th scope="col">Kommentare</th>
        </tr>
      </thead>
      <tbody>
        {.repeated section @}
        <tr>
          <td><a href="{link|html-attr-value}">{title}</a></td>
          <td style="text-align: right">{publishing-date|html-short-human-date}</td>
          <td><a href="{comments-link|html-attr-value}">{comments-label|html}</a></td>
        </tr>
        {.end}
      </tbody>
    </table>
  </div>
  {.end}
{.end}