{% load static %} {% load i18n %} {% load admin_url %} {% load mastodon %} {% load oauth_token %} {% load truncate %} {% load thumb %} {% if user == request.user %} {{ site_name }} - {% trans '我的个人主页' %} {% else %} {{ site_name }} - {{user.display_name}} {% endif %} {% include "common_libs.html" with jquery=0 %}
{% include "partial/_navbar.html" with current="home" %}
{% if request.user.is_authenticated %}
书影音日历

{% endif %} {% for category, category_shelves in shelf_list.items %} {% for shelf_type, shelf in category_shelves.items %}
{{ shelf.title }}
{{ shelf.count }} {% if shelf.count > 5 %} {% trans '更多' %} {% endif %}
{% endfor %} {% endfor %}
{% trans '创建的收藏单' %}
{{ collections_count }} {% if collections_count > 5 %} {% trans '更多' %} {% endif %} {% if user == request.user %} {% trans '新建' %} {% endif %}
{% trans '关注的收藏单' %}
{{ liked_collections_count }} {% if liked_collections_count > 5 %} {% trans '更多' %} {% endif %}
{% if user == request.user %}
{% trans '编辑布局' %}
{% csrf_token %}
{% endif %} {{ layout|json_script:"layout-data" }}
{% include "partial/_sidebar.html" %}
{% include "partial/_footer.html" %}
{% if request.user.unread_announcements %} {% include "partial/_announcement.html" %} {% endif %}