diff options
Diffstat (limited to 'franticworld/templates/index.html')
-rw-r--r-- | franticworld/templates/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/franticworld/templates/index.html b/franticworld/templates/index.html new file mode 100644 index 0000000..e3b8c81 --- /dev/null +++ b/franticworld/templates/index.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block content %} + +{% for article in articles_page.object_list %} +<div class="summarycontainer"> + <div class="metabox"> + <p class="metaday">{{ article.date|strftime('%j') }}</p> + <p class="metayear">{{ article.date|strftime('%Y') }}</p> + <p class="metacategory">{{ article.category }}</p> + </div> + <div class="summarybox"> + <a class="summarytitle" href="{{ BLOGURL }}/{{ article.url }} " >{{ article.title }}</a> + {{ article.summary }} + <a class="btnmore" href="{{ BLOGURL }}/{{ article.url }}">more ...</a> + </div> +</div> +{% endfor %} + +{% include 'pagination.html' %} +{% endblock content %}
\ No newline at end of file |