Improve template title

This commit is contained in:
Thomas Sileo
2019-07-17 09:29:48 +02:00
parent b7c421ff80
commit 8ed8a436e5
3 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
{% block title %}{{ config.NAME }}: "{{ note.activity.object.content | html2plaintext | truncate(50) }}"{% endblock %}
{% block title %}{{ config.NAME }}: {{ note.activity.object.content | html2plaintext | truncate(50) }}{% endblock %}
{% block header %}
<meta content="article" property="og:type" />
<meta content="{{ note.activity.object.url }}" property="og:url" />