grid push

This commit is contained in:
chimchooree
2022-07-18 00:26:24 -05:00
parent 35b8d6e233
commit 1c8c4a72c5
4 changed files with 17 additions and 11 deletions
+4
View File
@@ -1,7 +1,10 @@
% rebase('frame.tpl')
% import random
<div class="content-grid">
<h1>{{gallery[0]}}</h1>
<div class="gallery">
% if len(gallery) >=2:
% for g in gallery[1]:
% i = g[0].index('.')
% thumb = g[0][:i] + 'thumb' + g[0][i:]
@@ -9,6 +12,7 @@
<img src="/static/img/char/{{gallery[0]}}/{{thumb}}" alt="Image: {{g[1]}}">
</a>
% end
% end
</div>
<div class="center">
{{!profile}}