blob: 12a1c7ac85e9e6cfd8d7be496b944d08f062d9fa [file] [log] [blame]
Anand Doshi51146c02012-07-12 18:41:12 +05301{% extends "html/page.html" %}
2
3{% block javascript %}
4 {% include "js/blog_page.js" %}
Rushabh Mehta5f21cc02012-08-03 14:13:30 +05305 {% include "js/blog_subscribe.js" %}
Anand Doshi51146c02012-07-12 18:41:12 +05306{% endblock %}
7
8{% block css %}
9 {% include "css/blog_page.css" %}
10{% endblock %}
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053011
12{% block content %}
Anand Doshi72c945b2012-06-22 20:01:07 +053013 <div class="layout-wrapper layout-wrapper-background">
14 <div class="web-content" id="blog-{{ name }}">
15
16 <div class="layout-main-section">
Anand Doshi51146c02012-07-12 18:41:12 +053017
Anand Doshi72c945b2012-06-22 20:01:07 +053018 <h2>{{ title }}</h2>
Anand Doshi51146c02012-07-12 18:41:12 +053019
20 <!-- begin blog content -->
Anand Doshi72c945b2012-06-22 20:01:07 +053021 <div class="help">By {{ full_name }} on {{ updated }}</div>
22 <br>
23 {{ content_html }}
Anand Doshi200c4432012-07-13 01:14:52 +053024 <!-- end blog content -->
25
Anand Doshi8c7e76b2012-07-11 18:40:57 +053026 <hr>
27 <h3>Comments</h3><br>
Anand Doshi40fce892012-07-09 20:02:52 +053028 <div class="blog-comments">
Anand Doshi51146c02012-07-12 18:41:12 +053029
30 {% if not comment_list %}
Anand Doshi8c7e76b2012-07-11 18:40:57 +053031 <div class="no-result help hide">
32 <p>Be the first one to comment</p>
33 <br />
Anand Doshi40fce892012-07-09 20:02:52 +053034 </div>
Anand Doshi51146c02012-07-12 18:41:12 +053035 {% endif %}
36
37 {% include 'html/comment.html' %}
Anand Doshi40fce892012-07-09 20:02:52 +053038 </div>
Anand Doshiadc6c7c2012-07-26 19:11:44 +053039 <button class="btn add-comment">Add Comment</button>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053040 </div>
Anand Doshi72c945b2012-06-22 20:01:07 +053041
42 <div class="layout-side-section">
43 <p><a href="blog.html">All Blogs</a></p>
Anand Doshi40fce892012-07-09 20:02:52 +053044 <br />
Rushabh Mehta5f21cc02012-08-03 14:13:30 +053045 {% block blog_subscribe %}
46 {% include "html/blog_subscribe.html" %}
47 {% endblock %}
Anand Doshi40fce892012-07-09 20:02:52 +053048 <br />
49 <h4>Recent Posts</h4>
50 <div class="recent-posts" style="min-height: 100px;"></div>
Anand Doshi72c945b2012-06-22 20:01:07 +053051 </div>
52
53 <div style="clear: both"></div>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053054 </div>
Rushabh Mehtabd7f7232012-06-15 14:00:06 +053055 </div>
Anand Doshi72c945b2012-06-22 20:01:07 +053056{% endblock %}