aboutsummaryrefslogtreecommitdiff
path: root/templates/web/entry.html
blob: 9fea0af67a9445e8376333be2acaab067be8779a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "base.html" %}

{% block title %}Linkopedia{% endblock %}

{% block content %}
        <article>
          <header>
            <h1><a href="{{ entry.data.url }}">{{ entry.data.title }}</a></h1>
            <aside>{{ entry.data.url }}</aside>
          </header>
          <p>{{ entry.data.description }}</p>
          <footer>
              {{ entry.data.added }}
              {{ "- tags: " if entry.data.tags|count > 0 }}
              {% for tag in entry.data.tags %}
              <a class="tag" href="{{ url_for('search') }}?q=tag:{{tag|urlencode}}">{{ tag }}</a>
              {% endfor %}
          </footer>
        </article>
{% endblock %}