mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
24 lines
1 KiB
HTML
24 lines
1 KiB
HTML
|
{% extends "layout.html" %}
|
||
|
{% import 'utils.html' as utils %}
|
||
|
{% 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" />
|
||
|
<meta content="{{ note.activity.object.content | html2plaintext }}" property="og:description" />
|
||
|
<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" %}
|
||
|
{{ utils.display_note(note, perma=True) }}
|
||
|
{% for reply in replies %}
|
||
|
{{ utils.display_note(reply, perma=False) }}
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endblock %}
|