aboutsummaryrefslogtreecommitdiffstats
path: root/templates/post_teaser.html
blob: 482cf732374574db9b14e6382424f2ccaf5ebbeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<article class="post-teaser">
  <header>
    <h1><a href="/posts/{{ .id }}">{{ .title }}</a></h1>
    <div class="post-actions">
      <a href="/posts/{{ .id }}/edit">Edit</a> |
      Publish |
      <a href="/posts/{{ .id }}/delete">Delete</a>
    </div>
  </header>
  <section class="teaser">
    {{ .body }}
  </section>
</article>