diff options
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r-- | static/website/templates/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html new file mode 100644 index 0000000..b936643 --- /dev/null +++ b/static/website/templates/index.html @@ -0,0 +1,12 @@ +{% extends 'website/templates/base.html' %} +{% block content %} +{% for category in categories %} + <div class="col-lg-4 col-"> + <a href="{% url 'website:fetch_tutorials' category %}">{{ category }}</a> + <br> + {% load count_tags %} + Count = {% category_post_count category %} + </div> +{% endfor %} +<div class="clear"></div> +{% endblock %} |