2012-07-12 13:11:12 +00:00
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
|
|
|
{% block javascript %}
|
|
|
|
{% include "js/blog_page.js" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block css %}
|
|
|
|
{% include "css/blog_page.css" %}
|
|
|
|
{% endblock %}
|
2012-06-19 08:45:13 +00:00
|
|
|
|
2012-06-22 14:31:07 +00:00
|
|
|
{% block content %}
|
2013-02-21 08:55:30 +00:00
|
|
|
<div class="span12">
|
|
|
|
<h2>{{ title }}</h2>
|
2012-06-19 08:45:13 +00:00
|
|
|
|
2013-02-21 08:55:30 +00:00
|
|
|
<!-- begin blog content -->
|
2013-03-07 13:21:10 +00:00
|
|
|
<div class="help" style="color: #aaa">
|
|
|
|
{{ blogger_info and blogger_info.full_name or full_name }} wrote this on {{ updated }}</div>
|
2013-02-21 08:55:30 +00:00
|
|
|
<br>
|
|
|
|
{{ content_html }}
|
|
|
|
<!-- end blog content -->
|
2013-03-07 13:21:10 +00:00
|
|
|
{% if blogger_info %}
|
|
|
|
<hr />
|
|
|
|
<div class="row">
|
|
|
|
<div class="span2">
|
|
|
|
<div class="avatar avatar-large">
|
|
|
|
<img src="{{ blogger_info.avatar }}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<h4>{{ blogger_info.full_name }}</h4>
|
|
|
|
<p>{{ blogger_info.bio }}</p>
|
|
|
|
<p><a href="blog?by={{ blogger_info.name }}&by_name={{ blogger_info.full_name }}">
|
|
|
|
All posts by {{ blogger_info.full_name }}</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2013-02-21 08:55:30 +00:00
|
|
|
<hr>
|
|
|
|
<h3>Comments</h3><br>
|
|
|
|
<div class="blog-comments">
|
|
|
|
|
|
|
|
{% if not comment_list %}
|
2013-03-07 13:21:10 +00:00
|
|
|
<div class="no-comment">
|
2013-02-21 08:55:30 +00:00
|
|
|
<p>Be the first one to comment</p>
|
2012-06-15 08:30:06 +00:00
|
|
|
</div>
|
2013-02-21 08:55:30 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% include 'html/comment.html' %}
|
|
|
|
</div>
|
|
|
|
<div><button class="btn add-comment">Add Comment</button></div>
|
|
|
|
<div style="display: none; margin-top: 10px;"
|
2013-03-07 13:21:10 +00:00
|
|
|
id="comment-form">
|
2013-02-21 08:55:30 +00:00
|
|
|
<div class="alert" style="display:none;"></div>
|
|
|
|
<form>
|
2013-03-07 13:21:10 +00:00
|
|
|
<fieldset>
|
|
|
|
<input name="comment_by_fullname" placeholder="Your Name" type="text"/><br>
|
|
|
|
<input name="comment_by" placeholder="Your Email Id" type="text"/><br>
|
2013-02-21 08:55:30 +00:00
|
|
|
<textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/>
|
2013-03-07 13:21:10 +00:00
|
|
|
</textarea><br>
|
2013-02-21 08:55:30 +00:00
|
|
|
<button class="btn btn-info" id="submit-comment">Submit</button>
|
2013-03-07 13:21:10 +00:00
|
|
|
</fieldset>
|
2013-02-21 08:55:30 +00:00
|
|
|
</form>
|
2012-06-15 08:30:06 +00:00
|
|
|
</div>
|
2013-03-07 13:21:10 +00:00
|
|
|
<hr>
|
|
|
|
<a href="blog">Show posts by everyone</p>
|
2013-02-21 08:55:30 +00:00
|
|
|
</div>
|
2012-06-22 14:31:07 +00:00
|
|
|
{% endblock %}
|