~linuxgoose/bocpress

a3deda29c8a49af8918d704283312fd7afbc7dfd — Jordan Robinson 2 months ago f111872
fix is_published check not executing right
1 files changed, 2 insertions(+), 2 deletions(-)

M main/templates/main/blog_posts.html
M main/templates/main/blog_posts.html => main/templates/main/blog_posts.html +2 -2
@@ 93,10 93,10 @@
            <small>
                <b>Published on</b>:
                <time datetime="{{ p.published_at|date:'Y-m-d' }}" itemprop="datePublished">
                <time datetime="{{ item.post.published_at|date:'Y-m-d' }}" itemprop="datePublished">
                    {{ item.post.published_at|date:'F j, Y' }}
                </time>
                {% if not p.is_published %}
                {% if not item.post.is_published %}
                — SCHEDULED
                {% endif %}
            </small>