Browse Source

Update list to show recently added games

Colin Powell 3 năm trước cách đây
mục cha
commit
52251cb0ad
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      templates/games/game_list.html

+ 2 - 1
templates/games/game_list.html

@@ -1,11 +1,12 @@
 {% extends "base.html" %}
 
-{% block title %}Featured games{% endblock %}
+{% block title %}Recently added games{% endblock %}
 
 {% block content %}
      <div class="d-flex flex-column">
         <div class="image-grid-container">
         {% for  game in object_list %}
+	    <h4>{{game.created}}</h4>
             {% include 'games/_game_card.html' %}
         {% endfor %}
         </div>