# HG changeset patch # User Dirk Olmes # Date 1373881398 -7200 # Node ID bd8e75de187a914bc2c0f1aba481b5e42af805ca # Parent 6e2bcaecf3ec2382fec43a6be61df88f82890275 use the simple_comments plugin instead of juvia now diff -r 6e2bcaecf3ec -r bd8e75de187a pelicanconf.py --- a/pelicanconf.py Mon Jul 01 04:09:23 2013 +0200 +++ b/pelicanconf.py Mon Jul 15 11:43:18 2013 +0200 @@ -10,6 +10,9 @@ TIMEZONE = 'Europe/Berlin' TYPOGRIFY = True +PLUGIN_PATH = '../simple_comments' +PLUGINS = [ 'simple_comments' ] + # this theme looks ok but has some downsides: # - tag list at the bottom only # - html validation errors @@ -26,8 +29,7 @@ CATEGORY_FEED_ATOM = None TRANSLATION_FEED_ATOM = None -JUVIA_URL = 'http://xanthippe.dyndns.org/juvia' -JUVIA_SITE_KEY='5i1fkpmzhyot9d54c9aurbplte82q5j' +COMMENT_PATH = 'comments' # Blogroll LINKS = () #('Pelican', 'http://getpelican.com/'), diff -r 6e2bcaecf3ec -r bd8e75de187a themes/tuxlite_tbs/templates/article.html --- a/themes/tuxlite_tbs/templates/article.html Mon Jul 01 04:09:23 2013 +0200 +++ b/themes/tuxlite_tbs/templates/article.html Mon Jul 15 11:43:18 2013 +0200 @@ -13,6 +13,6 @@

Comments

{% include "twitter.html" %} {% include 'disqus.html' %} - {% include 'juvia.html' %} + {% include 'simple_comments.html' %} {% endblock %} diff -r 6e2bcaecf3ec -r bd8e75de187a themes/tuxlite_tbs/templates/juvia.html --- a/themes/tuxlite_tbs/templates/juvia.html Mon Jul 01 04:09:23 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -{% if JUVIA_SITE_KEY %} -
- -{% endif %} diff -r 6e2bcaecf3ec -r bd8e75de187a themes/tuxlite_tbs/templates/simple_comments.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/tuxlite_tbs/templates/simple_comments.html Mon Jul 15 11:43:18 2013 +0200 @@ -0,0 +1,32 @@ +{% if article.comments %} + {% for comment in article.comments %} +
+
+ {{ comment.Author }} +
+
+ {{ comment.Date }} +
+
+ {{ comment.text }} +
+
+ {% endfor %} +{% endif %} +
+
+ Leave a comment +
+
+ +
+ Your name: +
+
+ +
+
+ +
+
+
\ No newline at end of file