Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 1 | {% extends "html/page.html" %} |
| 2 | |
| 3 | {% block javascript %} |
| 4 | {% include "js/blog_page.js" %} |
Rushabh Mehta | 5f21cc0 | 2012-08-03 14:13:30 +0530 | [diff] [blame] | 5 | {% include "js/blog_subscribe.js" %} |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 6 | {% endblock %} |
| 7 | |
| 8 | {% block css %} |
| 9 | {% include "css/blog_page.css" %} |
| 10 | {% endblock %} |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 11 | |
| 12 | {% block content %} |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 13 | <div class="layout-wrapper layout-wrapper-background"> |
| 14 | <div class="web-content" id="blog-{{ name }}"> |
| 15 | |
| 16 | <div class="layout-main-section"> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 17 | |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 18 | <h2>{{ title }}</h2> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 19 | |
| 20 | <!-- begin blog content --> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 21 | <div class="help">By {{ full_name }} on {{ updated }}</div> |
| 22 | <br> |
| 23 | {{ content_html }} |
Anand Doshi | 200c443 | 2012-07-13 01:14:52 +0530 | [diff] [blame] | 24 | <!-- end blog content --> |
| 25 | |
Anand Doshi | 8c7e76b | 2012-07-11 18:40:57 +0530 | [diff] [blame] | 26 | <hr> |
| 27 | <h3>Comments</h3><br> |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 28 | <div class="blog-comments"> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 29 | |
| 30 | {% if not comment_list %} |
Anand Doshi | 8c7e76b | 2012-07-11 18:40:57 +0530 | [diff] [blame] | 31 | <div class="no-result help hide"> |
| 32 | <p>Be the first one to comment</p> |
| 33 | <br /> |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 34 | </div> |
Anand Doshi | 51146c0 | 2012-07-12 18:41:12 +0530 | [diff] [blame] | 35 | {% endif %} |
| 36 | |
| 37 | {% include 'html/comment.html' %} |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 38 | </div> |
Anand Doshi | adc6c7c | 2012-07-26 19:11:44 +0530 | [diff] [blame] | 39 | <button class="btn add-comment">Add Comment</button> |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 40 | </div> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 41 | |
| 42 | <div class="layout-side-section"> |
| 43 | <p><a href="blog.html">All Blogs</a></p> |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 44 | <br /> |
Rushabh Mehta | 5f21cc0 | 2012-08-03 14:13:30 +0530 | [diff] [blame] | 45 | {% block blog_subscribe %} |
| 46 | {% include "html/blog_subscribe.html" %} |
| 47 | {% endblock %} |
Anand Doshi | 40fce89 | 2012-07-09 20:02:52 +0530 | [diff] [blame] | 48 | <br /> |
| 49 | <h4>Recent Posts</h4> |
| 50 | <div class="recent-posts" style="min-height: 100px;"></div> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 51 | </div> |
| 52 | |
| 53 | <div style="clear: both"></div> |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 54 | </div> |
Rushabh Mehta | bd7f723 | 2012-06-15 14:00:06 +0530 | [diff] [blame] | 55 | </div> |
Anand Doshi | 72c945b | 2012-06-22 20:01:07 +0530 | [diff] [blame] | 56 | {% endblock %} |