summaryrefslogtreecommitdiff
path: root/site/templates/research.html
blob: 4263f204ed82ddad067be3e9ca2f03f6f062980f (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
{% extends 'layout.html' %}

{% block content %}
  <section>
    <h1>{{ metadata.title }}</h1>
    <div class='meta'>
      <div>
        <div class='gray'>Posted</div>
        <div>{{ metadata.published }}</div>
      </div>
      <div>
        <div class='gray'>By</div>
        <div>{{ metadata.authors }}</div>
      </div>
      {% if metadata.datasets %}<div>
        <div class='gray'>Datasets</div>
        <div>{{ metadata.datasets }}</div>
      </div>{% endif %}
    </div>
  </section>

  {{ content }}

  <section>
    <h3>MORE RESEARCH</h3>
    <div class='blogposts'>
      {% for blogpost in blogposts %}
        <div>
          <a href="{{ blogpost.url }}">{{ blogpost.title }}</a>
          <span class='sub'>{{ blogpost.date }}</span>
        </div>
      {% endfor %}
    </div>
  </section>
{% endblock %}