diff --git a/templates/user/user-bookmarks.html b/templates/user/user-bookmarks.html index 8dee499..f8a8559 100644 --- a/templates/user/user-bookmarks.html +++ b/templates/user/user-bookmarks.html @@ -16,11 +16,13 @@ {% for post in blogs %} + {% if post.bookmark.page_object() %} + {% endif %} {% endfor %} @@ -34,11 +36,13 @@ {% for problem in problems %} + {% if problem.bookmark.page_object() %} + {% endif %} {% endfor %} @@ -53,11 +57,13 @@ {% for contest in contests %} + {% if contest.bookmark.page_object() %} {{ contest.bookmark.page_object().name}} + {% endif %} {% endfor %} @@ -72,11 +78,13 @@ {% for solution in solutions %} + {% if solution.bookmark.page_object() %} {{ solution.bookmark.page_object().problem.name}} + {% endif %} {% endfor %}