{% extends "admin/base.html" %}
{% load i18n %}

{% block title %}{% translate 'Documentation' %}{% endblock %}

{% block main %}
  <section class="section">
    <div class="container">
      <h1 class="title">文档</h1>
      <nav class="breadcrumb">
	<ul>
	  <li><a href="/admin/">首页</a></li>
	  <li class="is-active"><a href="#" aria-current="page">文档</a></li>
	</ul>
      </nav>
      
      <div class="content">
	<h4><a href="tags/">{% translate 'Tags' %}</a></h4>
	<p>{% translate 'List of all the template tags and their functions.' %}</p>

	<h4><a href="filters/">{% translate 'Filters' %}</a></h4>
	<p>{% translate 'Filters are actions which can be applied to variables in a template to alter the output.' %}</p>

	<h4><a href="models/">{% translate 'Models' %}</a></h4>
	<p>{% translate 'Models are descriptions of all the objects in the system and their associated fields. Each model has a list of fields which can be accessed as template variables' %}.</p>

	<h4><a href="views/">{% translate 'Views' %}</a></h4>
	<p>{% translate 'Each page on the public site is generated by a view. The view defines which template is used to generate the page and which objects are available to that template.' %}</p>

	<h4><a href="bookmarklets/">{% translate 'Bookmarklets' %}</a></h4>
	<p>{% translate 'Tools for your browser to quickly access admin functionality.' %}</p>
      </div>

    </div>
  </section>
{% endblock %}
