2018-05-18 13:41:41 -05:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% import 'utils.html' as utils %}
|
2018-05-21 14:03:21 -05:00
|
|
|
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
|
2018-05-18 13:41:41 -05:00
|
|
|
{% block header %}
|
|
|
|
<meta content="article" property="og:type" />
|
|
|
|
<meta content="{{ note.activity.object.url }}" property="og:url" />
|
|
|
|
|
|
|
|
<meta content="{{ config.USERNAME }}" property="og:site_name" />
|
|
|
|
<meta content="{{ config.USERNAME }}" property="og:title" />
|
2018-05-21 14:03:21 -05:00
|
|
|
<meta content="{{ note.activity.object.content | html2plaintext | truncate(50) }}" property="og:description" />
|
2018-05-18 13:41:41 -05:00
|
|
|
<meta content="{{ me.icon.url }}" property="og:image" />
|
|
|
|
<meta content="200" property="og:image:width" />
|
|
|
|
<meta content="200" property="og:image:height" />
|
|
|
|
<meta content="summary" property="twitter:card" />
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="container">
|
|
|
|
{% include "header.html" %}
|
2018-06-03 16:36:16 -05:00
|
|
|
{{ utils.display_thread(thread, likes=likes, shares=shares) }}
|
2018-05-18 13:41:41 -05:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2018-07-10 16:19:00 -05:00
|
|
|
{% block links %}<link rel="alternate" href="{{ note.activity.object.id}}" type="application/activity+json">{% endblock %}
|