fix template dictionary in files

workspace
km0 3 years ago
parent 4ff850a36e
commit 9a1c8ab52a

@ -71,10 +71,10 @@
% for content in contents: % for content in contents:
<div class="row"> <div class="row">
<div class="column left"> <div class="column left">
<h2>${content.title} ${content.barcode}</h2> <h2>${content['title']} <img class="barcode" src="${content['barcode']}" /></h2>
</div> </div>
<div class="column right"> <div class="column right">
<p>☾ ${content.content[:200]}...</p> <p>☾ ${content['content'][:200]}...</p>
</div> </div>
</div> </div>
%endfor %endfor

Loading…
Cancel
Save