{% extends "base.html" %} {% block title %}Dashboard - Vim Docs{% endblock %} {% block header_title %}Dashboard{% endblock %} {% block content %}

Welcome back, {{ current_user.username }}!

Manage your Vim and coding documentation with ease.

New Document

Recent Documents

View All
{% if recent_docs %} {% for doc in recent_docs %}
{{ (doc.content[:100] + '...') if doc.content|length > 100 else doc.content }}
{{ doc.updated_date.strftime('%b %d, %Y') }}
{% if doc.category %}
{{ doc.category.name }}
{% endif %}
{% if doc.tags %}
{% for tag in doc.tags %} {{ tag.name }} {% endfor %}
{% endif %}
{% endfor %} {% else %}

No documents yet

Create your first document to get started

Create Document
{% endif %}

My Categories

{% if categories %} {% for category in categories %}

{{ category.name }}

{% if category.description %}

{{ category.description }}

{% endif %}
{{ category.documents.count() }} document{{ '' if category.documents.count() == 1 else 's' }} {{ category.children.count() }} subcategor{{ 'y' if category.children.count() == 1 else 'ies' }}
{% endfor %}

New Category

Create a new category to organize your docs

{% else %}

No categories yet

Organize your documents by creating categories

{% endif %}
{% endblock %}