blob: ddb61d0278e135771e2c5e7da9653b5571053f6b [file] [log] [blame]
Rushabh Mehta3023a8f2013-04-03 16:34:23 +05301{% extends "app/website/templates/html/page.html" %}
Anand Doshi51146c02012-07-12 18:41:12 +05302
3{% block javascript %}
Rushabh Mehta3023a8f2013-04-03 16:34:23 +05304 {% include "app/website/templates/js/blog_page.js" %}
Anand Doshi51146c02012-07-12 18:41:12 +05305{% endblock %}
6
7{% block css %}
Rushabh Mehta3023a8f2013-04-03 16:34:23 +05308 {% include "app/website/templates/css/blog_page.css" %}
Anand Doshi51146c02012-07-12 18:41:12 +05309{% endblock %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053010
11{% block content %}
Rushabh Mehta4a2f0f82013-05-22 11:57:05 +053012<div class="col col-lg-12" itemscope itemtype="http://schema.org/BlogPost">
Rushabh Mehtab33693d2013-03-11 17:57:57 +053013 <h2 itemprop="name headline">{{ title }}</h2>
Anand Doshi72c945b2012-06-22 20:01:07 +053014
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053015 <!-- begin blog content -->
Rushabh Mehta676a5682013-03-07 18:51:10 +053016 <div class="help" style="color: #aaa">
Rushabh Mehtab33693d2013-03-11 17:57:57 +053017 <span itemprop="author">{{ blogger_info and blogger_info.full_name or full_name }}</span> /
18 <span itemprop="dateCreated">{{ updated }}</span></div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053019 <br>
Rushabh Mehtab33693d2013-03-11 17:57:57 +053020 <div itemprop="articleBody">
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053021 {{ content_html }}
Rushabh Mehtab33693d2013-03-11 17:57:57 +053022 </div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053023 <!-- end blog content -->
Rushabh Mehta676a5682013-03-07 18:51:10 +053024 {% if blogger_info %}
25 <hr />
Rushabh Mehta3023a8f2013-04-03 16:34:23 +053026 {% include "app/website/templates/html/blogger.html" %}
Rushabh Mehta676a5682013-03-07 18:51:10 +053027 {% endif %}
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053028 <hr>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053029 <h3>{{ texts.comments }}</h3><br>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053030 <div class="blog-comments">
31
32 {% if not comment_list %}
Rushabh Mehta676a5682013-03-07 18:51:10 +053033 <div class="no-comment">
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053034 <p>{{ texts.first_comment }}</p>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053035 </div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053036 {% endif %}
37
Rushabh Mehta3023a8f2013-04-03 16:34:23 +053038 {% include 'app/website/templates/html/comment.html' %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053039 </div>
Rushabh Mehta74560b32013-05-27 14:47:56 +053040 <div><button class="btn btn-default add-comment">{{ texts.add_comment }}</button></div>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053041 <div style="display: none; margin-top: 10px;"
Rushabh Mehta676a5682013-03-07 18:51:10 +053042 id="comment-form">
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053043 <div class="alert" style="display:none;"></div>
44 <form>
Rushabh Mehta676a5682013-03-07 18:51:10 +053045 <fieldset>
46 <input name="comment_by_fullname" placeholder="Your Name" type="text"/><br>
47 <input name="comment_by" placeholder="Your Email Id" type="text"/><br>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053048 <textarea name="comment" placeholder="Comment" style="width: 300px; height: 120px;"/>
Rushabh Mehta676a5682013-03-07 18:51:10 +053049 </textarea><br>
Rushabh Mehtaa2deb682013-03-08 10:44:25 +053050 <button class="btn btn-info" id="submit-comment">{{ texts.submit }}</button>
Rushabh Mehta676a5682013-03-07 18:51:10 +053051 </fieldset>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053052 </form>
53 </div>
54</div>
Rushabh Mehta3023a8f2013-04-03 16:34:23 +053055{% include 'app/website/templates/html/blog_footer.html' %}
Anand Doshi72c945b2012-06-22 20:01:07 +053056{% endblock %}