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/page.html | |
parent | 84fe361a8e3a64e524471b5d36927fd50086926d (diff) | |
download | pelican-themes-168b866cbafb6c3988097261cc48af7270ec72e9.tar.gz |
add franticworld's theme
Diffstat (limited to 'franticworld/templates/page.html')
-rw-r--r-- | franticworld/templates/page.html | 27 |
1 files changed, 27 insertions, 0 deletions
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 %}
|