From cc89b0b584de2c4605ddddff016df2fcc46dc51d Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 8 Sep 2019 15:19:43 +0200 Subject: [PATCH] More HTMl tweaks --- templates/index.html | 2 +- templates/note.html | 6 +++--- templates/tags.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/index.html b/templates/index.html index 7055199..cc3400d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@ - + diff --git a/templates/note.html b/templates/note.html index 930a7b7..c0f6ea7 100644 --- a/templates/note.html +++ b/templates/note.html @@ -1,14 +1,14 @@ {% 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 | trim | truncate(50) }}"{% endblock %} {% block header %} - + - + diff --git a/templates/tags.html b/templates/tags.html index caf152a..ea983b2 100644 --- a/templates/tags.html +++ b/templates/tags.html @@ -8,7 +8,7 @@ - +