blob: 10ff991d2c04e1f98e781e1cb3a62f6b2cdf9798 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
<html>
<head>
<title>Bookmarks - LIFO</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../style/default.css" type="text/css">
<link rel="stylesheet" href="../../style/bookmarks.css" type="text/css">
<link rel="alternate" href="lifo.atom"
type="application/atom+xml"
title="{{data['collection']}} - dumb Bookmark Collection">
<link rel="vcs-git" href="git://git.home.trueelena.org/bookmarks/lifo.git"
title="lifolab bookmarks repository" />
</head>
<body>
<div id="menubar">
<div><img src="../../img/logo.png" width="160" height="160" /></div>
</div>
<div id="crumbs">
<a href="../../index.html">LIFO</a>
» <a href="../index.html">Laboratorio</a>
» <a href="../bookmarks.html">Bookmarks</a>
» LIFO
</div>
<div id="main">
<div class="feed">
Di questi bookmark è anche disponibile il
<a type="application/atom+xml" href="{{data['collection']}}.atom">
feed Atom</a>.
</div>
{% for bm in data['bms'] | sort(reverse=True,attribute='added') %}
<div class="bookmark">
<div class="bhead">
<span class="dtitle">{{bm['title']}}</span>
<span class="url"><<a href="{{bm['url']}}">{{bm['url']}}</a>></span>
{% if bm['comment'] is defined %}
<div class="dcomment">{{bm['comment']}}</div>
{% endif %}
</div>
<div class="bdata">
{% for data in ['content-type','added','last-seen'] %}
{% if bm[data] is defined %}
<div class="d{{ data }}">{{data}}:{{bm[data]}}</div>
{% endif %}
{% endfor %}
{% if bm['mirrors'] is defined %}
<div class="mirrors">
<div class="dmirrors-head">mirrors</div>
<ul class="dmirrors-body">
{% for entry in bm['mirrors'] %}
<li class="dmirror">{{ entry['server']}}
<span class="url">
<<a href={{entry['url']}}>{{entry['url']}}</a>>
</span>
(added: {{entry['added']}})</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if bm['positions'] is defined %}
<div class="positions">
<div class="dpositions-head">positions</div>
<ul class="dpositions-body">
{% for entry in bm['positions'] %}
<li class="dpositions">{{ entry['title']}}
<span class="url">
<<a href={{entry['url']}}>{{entry['url']}}</a>>
</span>
(added: {{entry['added']}})
{% if entry['comment'] is defined %}
<div class="subcomment">{{entry['comment']}}</div>
{% endif %}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if bm['related'] is defined %}
<div class="related">
<div class="drelated-head">related resources</div>
<ul class="drelated-body">
{% for entry in bm['related'] %}
<li class="drelated">{{ entry['relation']}}: {{ entry['title']}}
<span class="url">
<<a href="{{entry['url']}}">{{entry['url']}}</a>>
</span>
(added: {{entry['added']}})
{% if entry['comment'] is defined %}
<div class="subcomment">{{entry['comment']}}</div>
{% endif %}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="dkeywords">keywords: {% for kw in bm['keywords'] %}{{kw}} {%endfor%}</div>
<div class="dbid">id: {{bm['bm_id']}}</div>
</div>
</div>
{% endfor %}
</div>
</body>
</html>
|