|
- {% block title %} {{ title }} {% endblock %}
-
- {% block header %}
- <h2 itemprop="name headline" itemscope itemtype="http://schema.org/BlogPost">
- {{ title }}
- </h2>
- {% endblock %}
-
- {% block content %}
- <div class="blog-content" itemscope itemtype="http://schema.org/BlogPost">
- <!-- begin blog content -->
- <div class="help" style="color: #aaa">
- <span itemprop="author">{{ blogger_info and blogger_info.full_name or full_name }}</span> /
- <span itemprop="dateCreated">{{ updated }}</span></div>
- <br>
- <div itemprop="articleBody">
- {{ content }}
- </div>
- <!-- end blog content -->
- {% if blogger_info %}
- <hr />
- {% include "templates/includes/blogger.html" %}
- {% endif %}
- <hr>
- <h3>Comments</h3>
- {% include 'templates/includes/comments.html' %}
- </div>
- <script>
- $(function() {
- if(window.logged_in && getCookie("system_user")==="yes") {
- wn.has_permission("Blog Post", "{{ name }}", "write", function(r) {
- wn.require("assets/webnotes/js/wn/website/editable.js");
- wn.make_editable($('[itemprop="articleBody"]'), "Blog Post", "{{ name }}", "content");
- });
- }
- });
- </script>
- {% endblock %}
-
- {% block footer %}{% include 'templates/includes/blog_footer.html' %}{% endblock %}
-
- {% block sidebar %}{% include "templates/includes/sidebar.html" %}{% endblock %}
|