{% extends "base.html" %} {% block title %}{{ article.title }}{% endblock %} {% block page_title %}Knowledge Base{% endblock %} {% block content %}
Article {% if current_user.is_it_staff %} Edit {% endif %}

{{ article.title }}

{% if article.category %}{{ article.category.replace('_',' ').title() }}{% endif %} {{ article.author.full_name if article.author else 'IT Team' }} {{ article.updated_at.strftime('%B %d, %Y') }} {{ article.view_count }} views
{% if article.tags %}
{% for tag in article.tags.split(',') %} {{ tag.strip() }} {% endfor %}
{% endif %}
{{ article.body | safe }}
{% set existing_atts = article.attachments.all() %} {% if existing_atts %}
Attachments
{% for att in existing_atts %} {{ att.filename }} {{ (att.file_size / 1024)|int }} KB {% endfor %}
{% endif %}
Did this article solve your issue?
{% endblock %}