-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag_delicious.html
executable file
·42 lines (34 loc) · 1.13 KB
/
tag_delicious.html
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
36
37
38
39
40
41
42
{% extends "main.html" %}
{% block title %}{{title}} - {{tag}}{% endblock %}
{% block blog %}
<div id=bloglist>
{% if posts %}
{% for post in posts %}
<DIV class="post">
<H3 class=post-title>
<a href='{{post.link}}' target="_blank">{{post.title}}</a>
</H3>
<p> </p>
{% if post.tags %}
<p>
Tags:
{% for tag in post.tags %}
<a href="/delicious/{{ tag|urlencode }}">{{ tag }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</p><br>
{% endif %}
</DIV>
<br><br>
{% endfor %}
{% else %}
<div class="post">
<div class="post-title">No Matches</div>
<h2>No posts tagged with '{{ tag }}'</h2>
<div class="post-body">
<p>It's possible that an article with the tag was removed.</p>
<p>Please try another tag or use the full-text search.</p>
</div>
</div>
{% endif %}
</div>
{% endblock %}