aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld/templates/index.html
diff options
context:
space:
mode:
authorfrantic1048 <franticblack@163.com>2013-11-21 16:11:50 +0800
committerfrantic1048 <franticblack@163.com>2013-11-21 16:11:50 +0800
commit168b866cbafb6c3988097261cc48af7270ec72e9 (patch)
tree61085c3510852a7645743b7b49a8044aee930da2 /franticworld/templates/index.html
parent84fe361a8e3a64e524471b5d36927fd50086926d (diff)
downloadpelican-themes-168b866cbafb6c3988097261cc48af7270ec72e9.tar.gz
add franticworld's theme
Diffstat (limited to 'franticworld/templates/index.html')
-rw-r--r--franticworld/templates/index.html20
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