评论功能,待完善评论层级展示功能

sh_branch
车亮亮 9 years ago
parent dc81f144d2
commit 239ae8afd4

@ -144,6 +144,8 @@ BOOTSTRAP_COLOR_TYPES = [
# 侧边栏文章数目
SIDEBAR_ARTICLE_COUNT = 10
#侧边栏评论数目
SIDEBAR_COMMENT_COUNT = 5
# cache setting
"""

@ -4,7 +4,6 @@ from django.conf import settings
class Article(models.Model):
"""文章"""
STATUS_CHOICES = (
('d', '草稿'),
@ -59,6 +58,10 @@ class Article(models.Model):
self.views += 1
self.save(update_fields=['views'])
def comment_list(self):
comments = self.comment_set.all()
parent_comments = comments.filter(parent_comment=None)
class Category(models.Model):
"""文章分类"""

@ -1996,4 +1996,357 @@ div {
#wp-auto-top-bottom:hover {
background-position: right -68px;
}
/* ------------------------------------------------------------------------- *
* Comments
/* ------------------------------------------------------------------------- */
#comments {
margin-top: 20px;
}
#pinglist-container {
display: none;
}
.comment-tabs {
margin-bottom: 20px;
font-size: 15px;
border-bottom: 2px solid #e5e5e5;
}
.comment-tabs li {
float: left;
margin-bottom: -2px;
}
.comment-tabs li a {
display: block;
padding: 0 10px 10px;
font-weight: 600;
color: #aaa;
border-bottom: 2px solid #e5e5e5;
}
.comment-tabs li a:hover {
color: #444;
border-color: #ccc;
}
.comment-tabs li span {
margin-left: 8px;
padding: 0 6px;
border-radius: 4px;
background-color: #e5e5e5;
}
.comment-tabs li i {
margin-right: 6px;
}
.comment-tabs li.active a {
color: #e8554e;
border-bottom-color: #e8554e;
}
.commentlist, .pinglist {
margin-bottom: 20px;
}
.commentlist li, .pinglist li {
padding-left: 60px;
font-size: 14px;
line-height: 22px;
font-weight: 400;
}
.commentlist .comment-body, .pinglist li {
position: relative;
padding-bottom: 20px;
clear: both;
}
.commentlist .comment-author,
.commentlist .comment-meta,
.commentlist .comment-awaiting-moderation {
float: left;
display: block;
font-size: 13px;
line-height: 22px;
}
.commentlist .comment-author {
margin-right: 6px;
}
.commentlist .fn, .pinglist .ping-link {
color: #444;
font-size: 13px;
font-style: normal;
font-weight: 600;
}
.commentlist .says {
display: none;
}
.commentlist .avatar {
position: absolute;
left: -60px;
top: 0;
width: 48px;
height: 48px;
border-radius: 100%;
}
.commentlist .comment-meta:before, .pinglist .ping-meta:before {
content: "\f017";
vertical-align: 4%;
margin-right: 3px;
font-size: 10px;
font-family: FontAwesome;
color: #ccc;
}
.commentlist .comment-meta a, .pinglist .ping-meta {
color: #aaa;
}
.commentlist .reply {
font-size: 13px;
line-height: 16px;
}
.commentlist .reply a,
.commentlist .comment-reply-chain {
color: #aaa;
}
.commentlist .reply a:hover,
.commentlist .comment-reply-chain:hover {
color: #444;
}
.comment-awaiting-moderation {
color: #e8554e;
font-style: normal;
}
/* pings */
.pinglist li {
padding-left: 0;
}
/* comment text */
.commentlist .comment-body p {
margin-bottom: 8px;
color: #777;
clear: both;
}
.commentlist .comment-body strong {
font-weight: 600;
}
.commentlist .comment-body ol li {
margin-left: 2em;
padding: 0;
list-style: decimal;
}
.commentlist .comment-body ul li {
margin-left: 2em;
padding: 0;
list-style: square;
}
/* post author & admin comment */
.commentlist li.bypostauthor > .comment-body:after,
.commentlist li.comment-author-admin > .comment-body:after {
display: block;
position: absolute;
content: "\f040";
width: 12px;
line-height: 12px;
font-style: normal;
font-family: FontAwesome;
text-align: center;
color: #fff;
background-color: #e8554e;
}
.commentlist li.comment-author-admin > .comment-body:after {
content: "\f005"; /* star for admin */
}
.commentlist li.bypostauthor > .comment-body:after,
.commentlist li.comment-author-admin > .comment-body:after {
padding: 3px;
top: 32px;
left: -28px;
font-size: 12px;
border-radius: 100%;
}
.commentlist li li.bypostauthor > .comment-body:after,
.commentlist li li.comment-author-admin > .comment-body:after {
padding: 2px;
top: 22px;
left: -26px;
font-size: 10px;
border-radius: 100%;
}
/* child comment */
.commentlist li ul {
}
.commentlist li li {
margin: 0;
padding-left: 48px;
}
.commentlist li li .avatar {
top: 0;
left: -48px;
width: 36px;
height: 36px;
}
.commentlist li li .comment-meta {
left: 70px;
}
/* comments : nav
/* ------------------------------------ */
.comments-nav {
margin-bottom: 20px;
}
.comments-nav a {
font-weight: 600;
}
.comments-nav .nav-previous {
float: left;
}
.comments-nav .nav-next {
float: right;
}
/* comments : form
/* ------------------------------------ */
.logged-in-as,
.comment-notes,
.form-allowed-tags {
display: none;
}
#respond {
position: relative;
}
#reply-title {
margin-bottom: 20px;
}
li #reply-title {
margin: 0 !important;
padding: 0;
height: 0;
font-size: 0;
border-top: 0;
}
#cancel-comment-reply-link {
display: block;
position: absolute;
bottom: 26px;
right: 20px;
font-size: 12px;
color: #999;
}
#cancel-comment-reply-link:hover {
color: #777;
}
#commentform {
margin-bottom: 20px;
padding: 10px 20px 20px;
border-radius: 4px;
background-color: #e5e5e5;
}
#commentform p.comment-form-author {
float: left;
width: 48%;
}
#commentform p.comment-form-email {
float: right;
width: 48%;
}
#commentform p.comment-form-url,
#commentform p.comment-form-comment {
clear: both;
}
#commentform label {
display: block;
padding: 6px 0;
font-weight: 600;
}
#commentform input[type="text"],
#commentform textarea {
max-width: 100%;
width: 100%;
}
#commentform textarea {
height: 100px;
}
#commentform p.form-submit {
margin-top: 10px;
}
.logged-in #reply-title {
margin-bottom: 20px;
}
.logged-in #commentform p.comment-form-comment {
margin-top: 10px;
}
.logged-in #commentform p.comment-form-comment label {
display: none;
}
.heading,
#reply-title {
margin-bottom: 1em;
font-size: 18px;
font-weight: 600;
text-transform: uppercase;
color: #222;
}
.heading i {
margin-right: 6px;
font-size: 22px;
}
.group:before {
content: "";
display: table;
}
.group:after {
content: "";
display: table;
clear: both;
}

@ -21,6 +21,9 @@ from django.utils.safestring import mark_safe
import random
from blog.models import Article, Category, Tag, Links
from django.utils.encoding import force_text
import hashlib
import urllib
from comments.models import Comment
register = template.Library()
@ -93,13 +96,15 @@ def load_sidebar():
most_read_articles = Article.objects.filter(status='p').order_by('-views')[:settings.SIDEBAR_ARTICLE_COUNT]
dates = Article.objects.datetimes('created_time', 'month', order='DESC')
links = Links.objects.all()
commment_list = Comment.objects.order_by('-id')[:settings.SIDEBAR_COMMENT_COUNT]
# tags=
return {
'recent_articles': recent_articles,
'sidebar_categorys': sidebar_categorys,
'most_read_articles': most_read_articles,
'article_dates': dates,
'sidabar_links': links
'sidabar_links': links,
'sidebar_comments': commment_list
}
@ -118,6 +123,26 @@ def load_article_detail(article, isindex):
}
# return only the URL of the gravatar
# TEMPLATE USE: {{ email|gravatar_url:150 }}
@register.filter
def gravatar_url(email, size=40):
email = email.encode('utf-8')
default = "https://avatar.duoshuo.com/avatar-50/928/120117.jpg".encode('utf-8')
return "https://www.gravatar.com/avatar/%s?%s" % (
hashlib.md5(email.lower()).hexdigest(), urllib.parse.urlencode({'d': default, 's': str(size)}))
# return an image tag with the gravatar
# TEMPLATE USE: {{ email|gravatar:150 }}
@register.filter
def gravatar(email, size=40):
url = gravatar_url(email, size)
return mark_safe('<img src="%s" height="%d" width="%d">' % (url, size, size))
"""
@register.tag
def parseCategoryName(parser,token):

@ -13,6 +13,7 @@ from django.template.defaultfilters import stringfilter
from django.utils.safestring import mark_safe
from django.core.exceptions import ObjectDoesNotExist
from comments.forms import CommentForm
from comments.models import Comment
class ArticleListView(ListView):
@ -62,9 +63,13 @@ class ArticleDetailView(DetailView):
if self.request.user.is_authenticated():
user = self.request.user
form.fields["email"].initial = user.email
form.fields["name"].initial=user.username
form.fields["name"].initial = user.username
article_comments = self.object.comment_set.all()
print(article_comments)
kwargs['form'] = form
kwargs['article_comments'] = article_comments
kwargs['comment_count'] = len(article_comments) if article_comments else 0;
next_article = get_article(articleid + 1)
prev_article = get_article(articleid - 1)
kwargs['next_article'] = next_article

@ -44,4 +44,5 @@ class CommentPostView(FormView):
comment.article = article
comment.save(True)
return HttpResponseRedirect('/')
return HttpResponseRedirect(article.get_absolute_url())

@ -26,12 +26,15 @@
class="meta-nav">&rarr;</span></a></span>
{% endif %}
</nav><!-- .nav-single -->
{% if article.comment_status == "o" %}
{% comment %}{% load comments_tags %}
{% load_post_comment article from %}{% endcomment %}
{% include 'comments/tags/post_comment.html' %}
{% endif %}
</div><!-- #content -->
{% if article.comment_status == "o" %}
{% comment %}{% load comments_tags %}
{% load_post_comment article from %}{% endcomment %}
{% include 'comments/tags/comment_list.html' %}
{% include 'comments/tags/post_comment.html' %}
{% endif %}
</div><!-- #primary -->
{% endblock %}

@ -33,11 +33,22 @@
</ul>
</aside>
{% endif %}
<aside id="ds-recent-comments-4" class="widget ds-widget-recent-comments"><h3 class="widget-title">近期评论</h3>
{% comment %}<ul class="ds-recent-comments" data-num-items="5" data-show-avatars="1" data-show-time="1"
{% if sidebar_comments %}
<aside id="ds-recent-comments-4" class="widget ds-widget-recent-comments"><h3 class="widget-title">近期评论</h3>
{% comment %}<ul class="ds-recent-comments" data-num-items="5" data-show-avatars="1" data-show-time="1"
data-show-title="1" data-show-admin="1" data-avatar-size="30" data-excerpt-length="70"></ul>{% endcomment %}
</aside>
<ul id="recentcomments">
{% for c in sidebar_comments %}
<li class="recentcomments">
<span class="comment-author-link">
<a href="https://blog.misuzu.moe/" rel="external nofollow" class="url">{{ c.author.username }}</a></span>
发表在
<a href="{{ c.article.get_absolute_url }}">{{ c.article.title }}</a>
</li>
{% endfor %}
</ul>
</aside>
{% endif %}
{% if recent_articles %}
<aside id="recent-posts-2" class="widget widget_recent_entries"><h3 class="widget-title">近期文章</h3>
<ul>

@ -0,0 +1,301 @@
<section id="comments" class="themeform">
{% load blog_tags %}
<h3 class="heading">{{ comment_count }} 条回复</h3>
<ul class="comment-tabs group">
<li class="active"><a href="#commentlist-container"><i
class="fa fa-comments-o"></i>评论<span>{{ comment_count }}</span></a></li>
<li class=""><a href="#pinglist-container"><i class="fa fa-share"></i>引用<span>0</span></a></li>
</ul>
{% if article_comments %}
<div id="commentlist-container" class="comment-tab" style="display: block;">
<ol class="commentlist">
{% for comment in article_comments %}
<li class="comment even thread-even depth-1 parent" id="comment-{{ comment.pk }}">
<div id="div-comment-{{ comment.pk }}" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="{{ comment.author.email|gravatar_url:150 }}"
srcset="{{ comment.author.email|gravatar_url:150 }}"
class="avatar avatar-96 photo" height="96" width="96"> <cite class="fn"><a
href="#" rel="external nofollow"
class="url">{{ comment.author.username }}</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="#">
{{ comment.created_time }}</a></div>
<p>{{ comment.body }}</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="#"
onclick="return addComment.moveForm( &quot;div-comment-6&quot;, &quot;6&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给DIYgod">回复</a></div>
</div>
{% comment %} <ul class="children">
<li class="comment byuser comment-author-hellcom bypostauthor odd alt depth-2"
id="comment-7">
<div id="div-comment-7" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="http://www.bixiv.com/" rel="external nofollow"
class="url">Hellcom</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-7">
2016年11月5日 下午9:16</a></div>
<p><a class="comment-reply-chain" rel="nofollow"
href="#comment-6">@DIYgod</a> 么么哒😘</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=7#respond"
onclick="return addComment.moveForm( &quot;div-comment-7&quot;, &quot;7&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给Hellcom">回复</a></div>
</div>
</li><!-- #comment-## -->
</ul><!-- .children -->{% endcomment %}
</li><!-- #comment-## -->
{% endfor %}
{% comment %} <li class="comment even thread-even depth-1 parent" id="comment-6">
<div id="div-comment-6" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/2c0e7571f32704cc893de555a669865b?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/2c0e7571f32704cc893de555a669865b?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite class="fn"><a
href="https://www.anotherhome.net" rel="external nofollow"
class="url">DIYgod</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-6">
2016年11月5日 下午9:02</a></div>
<p></p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=6#respond"
onclick="return addComment.moveForm( &quot;div-comment-6&quot;, &quot;6&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给DIYgod">回复</a></div>
</div>
<ul class="children">
<li class="comment byuser comment-author-hellcom bypostauthor odd alt depth-2"
id="comment-7">
<div id="div-comment-7" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="http://www.bixiv.com/" rel="external nofollow"
class="url">Hellcom</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-7">
2016年11月5日 下午9:16</a></div>
<p><a class="comment-reply-chain" rel="nofollow"
href="#comment-6">@DIYgod</a> 么么哒😘</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=7#respond"
onclick="return addComment.moveForm( &quot;div-comment-7&quot;, &quot;7&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给Hellcom">回复</a></div>
</div>
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1 parent" id="comment-24">
<div id="div-comment-24" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f21a032d4ff906c4d7ed49670229566f?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f21a032d4ff906c4d7ed49670229566f?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite class="fn"><a
href="http://blog.youranxz.top" rel="external nofollow"
class="url">悠然</a></cite><span class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-24">
2016年11月6日 上午12:44</a></div>
<p>大触</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=24#respond"
onclick="return addComment.moveForm( &quot;div-comment-24&quot;, &quot;24&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给悠然">回复</a></div>
</div>
<ul class="children">
<li class="comment byuser comment-author-hellcom bypostauthor odd alt depth-2"
id="comment-29">
<div id="div-comment-29" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="http://www.bixiv.com/" rel="external nofollow"
class="url">Hellcom</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-29">
2016年11月6日 下午12:46</a></div>
<p><a class="comment-reply-chain" rel="nofollow" href="#comment-24">@悠然</a>
刚学这是临摹的</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=29#respond"
onclick="return addComment.moveForm( &quot;div-comment-29&quot;, &quot;29&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给Hellcom">回复</a></div>
</div>
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-even depth-1 parent" id="comment-30">
<div id="div-comment-30" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite class="fn"><a
href="https://www.meroco.net/" rel="external nofollow"
class="url">みすず</a></cite><span class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-30">
2016年11月8日 上午11:59</a></div>
<p>第一张吗线条还在抖顺便交换友链吗</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=30#respond"
onclick="return addComment.moveForm( &quot;div-comment-30&quot;, &quot;30&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给みすず">回复</a></div>
</div>
<ul class="children">
<li class="comment byuser comment-author-hellcom bypostauthor odd alt depth-2 parent"
id="comment-31">
<div id="div-comment-31" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="http://www.bixiv.com/" rel="external nofollow"
class="url">Hellcom</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-31">
2016年11月8日 下午10:34</a></div>
<p><a class="comment-reply-chain" rel="nofollow" href="#comment-30">@みすず</a>
&gt;_&lt; 第二张笔还没用惯你的网站打不开啊
</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=31#respond"
onclick="return addComment.moveForm( &quot;div-comment-31&quot;, &quot;31&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给Hellcom">回复</a></div>
</div>
</li><!-- #comment-## -->
<li class="comment even depth-2 parent" id="comment-32">
<div id="div-comment-32" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="https://meroco.net/" rel="external nofollow"
class="url">みすず</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-32">
2016年11月9日 上午3:31</a></div>
<p><a class="comment-reply-chain" rel="nofollow"
href="#comment-31">@Hellcom</a> 看了下是 CDN 的锅现在可以啦~其实就是介绍用的跳转页</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=32#respond"
onclick="return addComment.moveForm( &quot;div-comment-32&quot;, &quot;32&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给みすず">回复</a></div>
</div>
</li><!-- #comment-## -->
<li class="comment byuser comment-author-hellcom bypostauthor odd alt depth-2 parent"
id="comment-33">
<div id="div-comment-33" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/f51db6db4fcb66f4cdf10c6189dd20cf?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="http://www.bixiv.com/" rel="external nofollow"
class="url">Hellcom</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-33">
2016年11月9日 下午9:19</a></div>
<p><a class="comment-reply-chain" rel="nofollow" href="#comment-32">@みすず</a>
已加加的是你博客的链接</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=33#respond"
onclick="return addComment.moveForm( &quot;div-comment-33&quot;, &quot;33&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给Hellcom">回复</a></div>
</div>
</li><!-- #comment-## -->
<li class="comment even depth-2" id="comment-34">
<div id="div-comment-34" class="comment-body">
<div class="comment-author vcard">
<img alt=""
src="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=96&amp;d=monsterid&amp;r=g"
srcset="http://cn.gravatar.com/avatar/9805e238b5d06e07ec0a6fe6db3dd863?s=192&amp;d=monsterid&amp;r=g 2x"
class="avatar avatar-96 photo" height="96" width="96"> <cite
class="fn"><a href="https://blog.misuzu.moe/"
rel="external nofollow"
class="url">みすず</a></cite><span
class="says">说道</span></div>
<div class="comment-meta commentmetadata"><a
href="http://www.bixiv.com/2bps/12#comment-34">
2016年11月10日 上午12:54</a></div>
<p><a class="comment-reply-chain" rel="nofollow"
href="#comment-33">@Hellcom</a> 第一个友链get~<br>
放在外页内页还没装修好</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="http://www.bixiv.com/2bps/12?replytocom=34#respond"
onclick="return addComment.moveForm( &quot;div-comment-34&quot;, &quot;34&quot;, &quot;respond&quot;, &quot;12&quot; )"
aria-label="回复给みすず">回复</a></div>
</div>
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
{% endcomment %}
</ol><!--/.commentlist-->
</div>
{% endif %}
</section>

@ -1,3 +1,5 @@
<div id="comments" class="comments-area">
<div id="respond" class="comment-respond">
@ -21,7 +23,7 @@
</p>
<p class="comment-form-author">
{% if not form.name.is_hidden %}
{{ form.name.label_tag }}
{{ form.name.label_tag }}
{% endif %}
{{ form.name }}
{{ form.name.errors }}
@ -34,7 +36,7 @@
id="email" name="email" type="text" value="" size="30" maxlength="100"
aria-describedby="email-notes" aria-required='true' required='required'/>{% endcomment %}
{% if not form.email.is_hidden %}
{{ form.email.label_tag }}
{{ form.email.label_tag }}
{% endif %}
{{ form.email }}
{{ form.email.errors }}

Loading…
Cancel
Save