{% extends "base.html" %}

{% block mainclass %}narrow{% endblock %}

{% block main %}
<h3>Director Documentation</h1>
{% if request.user.can_edit_docs %}
<hr />
<p>You have permission to edit the documentation. You can <a href="{% url 'new_article' %}"> write a new article</a> or <a href="{% url 'list_articles' %}?all">edit a preexisting article</a>.</p>
{% endif %}
<hr>
<p>Welcome to the Director documentation. Here you'll find resources on how to set up Director resources, create web servers, and all sorts of other cool stuff.</p>
<p>Read the <a href="{% url 'guide' %}">help guide</a> to get started, or choose from one of the categories below:</p>
<ul>
    {% for tag in tags %}
    <li>
        <a href="{% url 'list_articles' %}?tags={{ tag }}" class="tag tag-primary tag-pill">{{ tag }}</a>
    </li>
    {% empty %}
    No tags in the database yet.
    {% endfor %}
</ul>
{% endblock %}


{% extends "base.html" %}

{% block mainclass %}narrow{% endblock %}

{% block main %}
<h3>Director Documentation</h1>
{% if request.user.can_edit_docs %}
<hr />
<p>You have permission to edit the documentation. You can <a href="{% url 'new_article' %}"> write a new article</a> or <a href="{% url 'list_articles' %}?all">edit a preexisting article</a>.</p>
{% endif %}
<hr>
<p>Welcome to the Director documentation. Here you'll find resources on how to set up Director resources, create web servers, and all sorts of other cool stuff.</p>
<p>Read the <a href="{% url 'guide' %}">help guide</a> to get started, or choose from one of the categories below:</p>
<ul>
    {% for tag in tags %}
    <li>
        <a href="{% url 'list_articles' %}?tags={{ tag }}" class="tag tag-primary tag-pill">{{ tag }}</a>
    </li>
    {% empty %}
    No tags in the database yet.
    {% endfor %}
</ul>
<p>You can also view a full list of articles <a href="{% url 'list_articles' %}?all">here</a>.</p>
{% endblock %}


Add link to all articles
Add link to all articles
