]> git.sur5r.net Git - i3/i3.github.io/commitdiff
downloads: add openSUSE link (Thanks Philipp)
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Apr 2012 08:19:02 +0000 (10:19 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Apr 2012 08:19:02 +0000 (10:19 +0200)
downloads/index.html.mako

index 5f5f5d2a9367faf0d5f8c83cdc3573dc6537decd..f1a75d8bf6a274f7da8480ff407bfc89d4a3e3d6 100644 (file)
@@ -58,7 +58,13 @@ currently distributed in the following operating systems/distributions:
                  "http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/i3/",
                  "/img/Openbsd2.png",
                  49
-               ]
+               ],
+               [
+                 "openSUSE",
+                 "http://software.opensuse.org/package/i3",
+                 "/img/opensuse.png",
+                 95
+               ],
        ]
 
        c = 0
@@ -66,7 +72,7 @@ currently distributed in the following operating systems/distributions:
 % for title, link, img, height in distros:
 <div style="display: inline; min-width: 100px"><a title="i3 in ${title}" href="${link}"><img src="${img}" width="75" height="${height}" alt="${title}" title="i3 in ${title}"></a></div>
 <% c += 1 %>
-% if c == (len(distros) / 4) * 4:
+% if c % 4 == 0:
 <br>
 % endif
 % endfor