summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
blob: 2ecb52af0510fde748c47f2cca73cb7b15004fcd (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
{{ define "main" }}
<main>
  <div class="container">
    <div class="left flex">
    </div>
    <div class="center flex">
      <article class="content">

        {{ .Content }}

        <h2>Publications</h2>

        {{ partial "papers.html" . }}

        <h2>Other Papers and Posters</h2>

        {{ partial "papers_other.html" . }}

        <h2>Blog</h2>

        {{ range first 5 (where .Site.RegularPages "Section" "blog") }}
          {{ .Render "summary"}}
        {{ end }}

        <h2>News</h2>

        {{ partial "news.html" . }}

      </article>
    </div>
    <div class="right flex">
    </div>
  </div>
</main>
{{ end }}