colors and titles

This commit is contained in:
j 2023-08-22 17:35:56 +02:00
commit b56167a703
5 changed files with 53 additions and 8 deletions

View file

@ -52,6 +52,10 @@
<script>
var comments = {{ comments }};
var user = {{ user }};
var item = {
id: {{ item.id }},
title: '{{ item.title|escapejs }}'
};
</script>
{% compress js file m %}
<script src="/static/js/utils.js"></script>

View file

@ -2,7 +2,7 @@
<a href="{{ item.get_absolute_url }}">
<div class="info">
<h1>{{ item.title }}</h1>
{{ item.data.title }}
<h2>{{ item.data.title }}</h2>
</div>
<div class="image">
<img src={{ item.data.thumbnail }}>