add support for helmets (?helm), closes #2. changed '/:uuid/123' to '/:uuid?size=123', closes #10. Bugfixes

This commit is contained in:
jomo
2014-11-01 21:03:42 +01:00
parent a61ac9b6a4
commit 1606fac89b
8 changed files with 92 additions and 34 deletions

View File

@@ -32,8 +32,8 @@ block content
p(style="margin-top: 10px;") By default, a 404 text is returned when the avatar was not found. You can change that to the avatar of steve or alex:
.well <img src="#{domain}/avatars/ae795aa86327408e92ab25c8a59f3ba1/250?default=alex">
.col-md-2
img(src="/avatars/2d5aa9cdaeb049189930461fc9b91cc5?default=steve", title="Jake0oo0")
img(src="/avatars/ae795aa86327408e92ab25c8a59f3ba1?default=steve", title="redstone_sheep")
img(src="/avatars/069a79f444e94726a5befca90e38aaf5?default=steve", title="Notch")
img(src="/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?default=steve", title="sk89q")
img(src="/avatars/af74a02d19cb445bb07f6866a861f783?default=steve", title="md_5")
img(src="/avatars/2d5aa9cdaeb049189930461fc9b91cc5?default=alex&helm", title="Jake0oo0")
img(src="/avatars/ae795aa86327408e92ab25c8a59f3ba1?default=alex&helm", title="redstone_sheep")
img(src="/avatars/069a79f444e94726a5befca90e38aaf5?default=alex&helm", title="Notch")
img(src="/avatars/0ea8eca3dbf647cc9d1ac64551ca975c?default=alex&helm", title="sk89q")
img(src="/avatars/af74a02d19cb445bb07f6866a861f783?default=alex&helm", title="md_5")