diff options
author | frantic1048 <franticblack@163.com> | 2013-11-21 16:11:50 +0800 |
---|---|---|
committer | frantic1048 <franticblack@163.com> | 2013-11-21 16:11:50 +0800 |
commit | 168b866cbafb6c3988097261cc48af7270ec72e9 (patch) | |
tree | 61085c3510852a7645743b7b49a8044aee930da2 /franticworld/templates/index.html | |
parent | 84fe361a8e3a64e524471b5d36927fd50086926d (diff) | |
download | pelican-themes-168b866cbafb6c3988097261cc48af7270ec72e9.tar.gz |
add franticworld's theme
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 |