forked from holzmaster/userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (55 loc) · 2.02 KB
/
index.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for userscript in site.posts %}
<li>
<article>
<h2>{{ userscript.title }}
<small>von {% if userscript.author %}
{% for auth in userscript.author %}
<a class="author" href="{{ auth | prepend: "/user/" | prepend: site.pr0gramm_url }}">{{ auth }}</a>
{% if forloop.rindex0 > 0 %} und {% endif %}
{% endfor %}
{% endif %}</small>
</h2>
{{ userscript.content }}
<div class="links">
{% if userscript.link %}
<a class="pr0-button" href="{{ userscript.link }}">
{% if (userscript.categories contains "installable") %}
Installieren
{% else %}
Öffnen
{% endif %}
</a>
{% endif %}
{% if userscript.code %}
<a href="{{ userscript.code }}">Source Code</a>
{% endif %}
{% if userscript.presented %}
<a href="{{ userscript.presented | prepend: "/new/" | prepend: site.pr0gramm_url }}">Post</a>
{% endif %}
{% if (userscript.categories contains "userscript") %}
<span class="badge">Userscript</span>
{% endif %}
{% if (userscript.categories contains "userstyle") %}
<span class="badge">Userstyle</span>
{% endif %}
{% if (userscript.categories contains "website") %}
<span class="badge">Webseite</span>
{% endif %}
{% if (userscript.categories contains "plugin") %}
<span class="badge">Browser-Plugin</span>
{% endif %}
</div>
</article>
</li>
{% endfor %}
</ul>
<h1>Wünsche</h1>
<div>
Bisher stehen keine Wünsche offen! Falls Du einen Wunsch hast, schreibe doch einen der hier aufgeführten Entwickler an und belästige diesen Hurensohn!
</div>
</div>