This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/templates/articles/admin_link_snippet.html

3 lines
116 B
HTML

{% if user.is_authenticated %}
| <a class="admin-link" href="{{ article.get_admin_url }}">Admin</a>
{% endif %}