summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO7
-rw-r--r--app/lib/django_comments/views/comments.py13
-rw-r--r--app/posts/templates/posts/essay_detail.html4
3 files changed, 14 insertions, 10 deletions
diff --git a/TODO b/TODO
index 8dccff4..525e762 100644
--- a/TODO
+++ b/TODO
@@ -1,14 +1,17 @@
- improve guides
+- publish barefoot shoe piece, as guide maybe?
## Members
-Monthly $14/Yearly $120/lifetime $1400
+Monthly $8/Yearly $100/lifetime $900
free digital book that year, along with supplemental stories
access to members-only mailing list
live stream Q&As
-chances to hang out when I am near your town
+Monthly $14/Yearly $120/lifetime $1400
+real-time access
+chances to hang out when I am near your town
## Notes:
diff --git a/app/lib/django_comments/views/comments.py b/app/lib/django_comments/views/comments.py
index 40dfc60..22e061c 100644
--- a/app/lib/django_comments/views/comments.py
+++ b/app/lib/django_comments/views/comments.py
@@ -123,12 +123,13 @@ def post_comment(request, next=None, using=None):
"comment_will_be_posted receiver %r killed the comment" % receiver.__name__)
# Save the comment and signal that it was saved
- comment.save()
- signals.comment_was_posted.send(
- sender=comment.__class__,
- comment=comment,
- request=request
- )
+ if comment.user != 'HenryLom':
+ comment.save()
+ signals.comment_was_posted.send(
+ sender=comment.__class__,
+ comment=comment,
+ request=request
+ )
return next_redirect(request, fallback=next or 'comments-comment-done',
c=comment._get_pk_val())
diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html
index 23619d0..e95c161 100644
--- a/app/posts/templates/posts/essay_detail.html
+++ b/app/posts/templates/posts/essay_detail.html
@@ -47,8 +47,8 @@
</div>
</header>
<div id="article" class="e-content entry-content post--body post--body--{% with object.template_name as t %}{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%endwith%} post-essay" itemprop="articleBody">
- {% if object.preamble %}<div class="afterward">
- {{object.preamble_html|smartypants|safe}}
+ {% if object.prologue_html %}<div class="afterward">
+ {{object.prologue_html|smartypants|safe}}
</div>{%endif%}
{{object.body_html|safe|smartypants}}
</div>