Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
{% extends "base.html" %}
{% block title %}Offbrand - {{ content.title }}{% endblock %}
{% block page_content %}
<div class="page-header">
<h2 id="content-name">{{ content.title }}</h2>
<p id="content-description">{{ content.description }}</p>
<p><a id="content-link" href={{ content.url }}>{{ content.url }}</a></p>
{% if == current_user or current_user.is_administrator() %}
<a id="edit-content" class="btn btn-warning" href="{{ url_for('.edit_content', }}">Edit Content</a>
{% endif %}
<p id="content-info"><img class="img-rounded profile-thumbnail" src="{{ author.gravatar(size=35) }}"><a id="content-author" href="{{ url_for('main.user', username=author.username) }}">{{ author.username }}</a> &bull; {{ moment(content.timestamp).fromNow() }}</p>
<p id="content-collection-info"><a id="collection-link" href="{{ url_for('main.get_collection', }}">Posted in {{ }}</a></p>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.