aboutsummaryrefslogtreecommitdiffstats
path: root/franticworld/templates
diff options
context:
space:
mode:
authorKura <kura@kura.io>2014-06-09 14:10:04 +0100
committerKura <kura@kura.io>2014-06-09 14:10:04 +0100
commitd0a9737671da09cd8bf0ee5ce1fc4aded1867544 (patch)
treee324a258041486c4a2deaecfab2e47119e50d98b /franticworld/templates
parent93944ff65e49df141c2908d7c335a4d0fc3da106 (diff)
parent5c241b5d62414cd379a8baedc45a1b72a37d08dd (diff)
downloadpelican-themes-d0a9737671da09cd8bf0ee5ce1fc4aded1867544.tar.gz
Merge pull request #116 from frantic1048/master
New theme bootstrap2-dark
Diffstat (limited to 'franticworld/templates')
-rw-r--r--franticworld/templates/archives.html13
-rw-r--r--franticworld/templates/article.html34
-rw-r--r--franticworld/templates/author.html5
-rw-r--r--franticworld/templates/authors.html0
-rw-r--r--franticworld/templates/base.html34
-rw-r--r--franticworld/templates/categories.html1
-rw-r--r--franticworld/templates/category.html2
-rw-r--r--franticworld/templates/index.html20
-rw-r--r--franticworld/templates/page.html27
-rw-r--r--franticworld/templates/pagination.html15
-rw-r--r--franticworld/templates/sidebar.html1
-rw-r--r--franticworld/templates/tag.html2
-rw-r--r--franticworld/templates/tags.html0
13 files changed, 154 insertions, 0 deletions
diff --git a/franticworld/templates/archives.html b/franticworld/templates/archives.html
new file mode 100644
index 0000000..0e25a5d
--- /dev/null
+++ b/franticworld/templates/archives.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+{% block content %}
+
+<h1>Archives for {{ SITENAME }}</h1>
+
+<dl>
+{% for article in dates %}
+ <dt>{{ article.date|strftime('%d %b,%Y') }}</dt>
+ <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
+{% endfor %}
+</dl>
+
+{% endblock %}
diff --git a/franticworld/templates/article.html b/franticworld/templates/article.html
new file mode 100644
index 0000000..ecb4bfe
--- /dev/null
+++ b/franticworld/templates/article.html
@@ -0,0 +1,34 @@
+{% extends "base.html" %}
+{% block title %}{{ article.title }} | {{ SITENAME }}{% endblock title %}
+{% block content %}
+
+<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="arcticlecontentbox">
+ <div class="articlecontent">
+ <a class="articletitle" href="{{ BLOGURL }}/{{ article.url }} " >{{ article.title }}</a>
+ {{ article.content }}
+ </div>
+
+ {% if DISQUS_SITENAME %}
+ <div class="comments">
+ <div id="disqus_thread"></div>
+ <script type="text/javascript">
+ var disqus_identifier = "{{ article.url }}";
+ (function() {
+ var dsq = document.createElement('script');
+ dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] ||
+ document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+ </script>
+ </div>
+ {% endif %}
+
+</div>
+
+{% endblock content %} \ No newline at end of file
diff --git a/franticworld/templates/author.html b/franticworld/templates/author.html
new file mode 100644
index 0000000..bde672c
--- /dev/null
+++ b/franticworld/templates/author.html
@@ -0,0 +1,5 @@
+{% extends "index.html" %}
+{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
+{% block content %}
+<h2>Articles by {{ author }}</h2>
+{% endblock content %} \ No newline at end of file
diff --git a/franticworld/templates/authors.html b/franticworld/templates/authors.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/franticworld/templates/authors.html
diff --git a/franticworld/templates/base.html b/franticworld/templates/base.html
new file mode 100644
index 0000000..d53e03d
--- /dev/null
+++ b/franticworld/templates/base.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="{{ DEFAULT_LANG }}">
+<head>
+ {% block head %}
+ <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
+ <meta charset="utf-8" />
+ <meta name="author" content="{{ AUTHOR }}">
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/franticworld.css" type="text/css" />
+ <link href="{{ SITEURL }}/theme/css/pygments.css" rel="stylesheet">
+ {% endblock head %}
+</head>
+<body background="{{ SITEURL }}/theme/img/pattern.png">
+ <div class="nav-banner">
+ <a href="{{ SITEURL }}">{{ SITENAME }}</a>
+ </div>
+
+ <div class="content">
+ {% block content %}
+ {% endblock content %}
+ </div>
+
+ <div class="sidebar">
+ {% include 'sidebar.html' %}
+ </div>
+
+ <footer id="contentinfo" class="body">
+ <address id="about" class="vcard body">
+ Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
+ which takes great advantage of <a href="http://python.org">Python</a>,
+ Theme by <a href="http://frantic1048.com/">Frantic1048</a>.
+ </address><!-- /#about -->
+ </footer><!-- /#contentinfo -->
+</body>
+</html> \ No newline at end of file
diff --git a/franticworld/templates/categories.html b/franticworld/templates/categories.html
new file mode 100644
index 0000000..6708a47
--- /dev/null
+++ b/franticworld/templates/categories.html
@@ -0,0 +1 @@
+{% extends "base.html" %} {% block content %} <ul> {% for category, articles in categories %} <li><a href="{{ category.url }}">{{ category }}</a></li> {% endfor %} </ul> {% endblock %} \ No newline at end of file
diff --git a/franticworld/templates/category.html b/franticworld/templates/category.html
new file mode 100644
index 0000000..816aaf0
--- /dev/null
+++ b/franticworld/templates/category.html
@@ -0,0 +1,2 @@
+{% extends "index.html" %}
+{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} \ No newline at end of file
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
diff --git a/franticworld/templates/page.html b/franticworld/templates/page.html
new file mode 100644
index 0000000..3b569b5
--- /dev/null
+++ b/franticworld/templates/page.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }} | {{ SITENAME }}{% endblock %}
+{% block content %}
+<div id="content" class="page-body">
+ <h1 class="page-title">{{ page.title }}</h1>
+ <hr></hr>
+ {{ page.content }}
+ {% if DISQUS_SITENAME %}
+ <div class="comments">
+ <div id="disqus_thread"></div>
+ <script type="text/javascript">
+ var disqus_identifier = "{{ page.url }}";
+ (function() {
+ var dsq = document.createElement('script');
+ dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] ||
+ document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+ </script>
+ </div>
+ {% endif %}
+</div>
+
+
+
+{% endblock %}
diff --git a/franticworld/templates/pagination.html b/franticworld/templates/pagination.html
new file mode 100644
index 0000000..a1300e8
--- /dev/null
+++ b/franticworld/templates/pagination.html
@@ -0,0 +1,15 @@
+{% if DEFAULT_PAGINATION %}
+<p class="paginator">
+ {% if articles_page.has_previous() %}
+ {% if articles_page.previous_page_number() == 1 %}
+ <a href="{{ SITEURL }}/{{ page_name }}.html">&laquo;prev</a>
+ {% else %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo;</a>
+ {% endif %}
+ {% endif %}
+ Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">next&raquo;</a>
+ {% endif %}
+</p>
+{% endif %}
diff --git a/franticworld/templates/sidebar.html b/franticworld/templates/sidebar.html
new file mode 100644
index 0000000..c8811c2
--- /dev/null
+++ b/franticworld/templates/sidebar.html
@@ -0,0 +1 @@
+<div class="sidebarcategory"> <h4>Categories</h4> {% for cat, null in categories %} <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %} </div> <div class="sidebarpages"> {% if PAGES %} <h4>Pages</h4> {% for page in PAGES %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarblogroll"> {% if LINKS %} <h4>Blogroll</h4> {% for name, link in LINKS %} <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> {% endfor %} {% endif %} </div> <div class="sidebarsocial"> {% if SOCIAL %} <h4>Social</h4> {% for name, link in SOCIAL %} <li><a href="{{ link }}">{{ name }}</a></li> {% endfor %} {% endif %} </div> \ No newline at end of file
diff --git a/franticworld/templates/tag.html b/franticworld/templates/tag.html
new file mode 100644
index 0000000..68cdcba
--- /dev/null
+++ b/franticworld/templates/tag.html
@@ -0,0 +1,2 @@
+{% extends "index.html" %}
+{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
diff --git a/franticworld/templates/tags.html b/franticworld/templates/tags.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/franticworld/templates/tags.html