aboutsummaryrefslogtreecommitdiff
path: root/templates/web/entry.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/entry.html')
-rw-r--r--templates/web/entry.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/web/entry.html b/templates/web/entry.html
new file mode 100644
index 0000000..9fea0af
--- /dev/null
+++ b/templates/web/entry.html
@@ -0,0 +1,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 %}