{% extends "base.html" %} {% block title %}{{ post.title }} - BalanceBoard{% endblock %} {% block content %}
{{ post.platform.title()[:1] }}
{% if post.url and not post.url.startswith('/') %}

{{ post.title }}

{% else %}

{{ post.title }}

{% endif %} {% if post.content %}
{{ post.content | safe | nl2br }}
{% endif %} {% if post.url and not post.url.startswith('/') %} {% endif %}

Comments ({{ comments|length }})

{% if comments %}
{% for comment in comments %}
{{ comment.author }} {{ moment(comment.timestamp).fromNow() if moment else 'Recently' }}
{{ comment.content | safe | nl2br }}
{% endfor %}
{% else %}

No comments yet. Be the first to share your thoughts!

{% endif %}
{% endblock %}