From 3431b6340c38f8f1ea5e125344c0e7a13a4858ac Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Tue, 19 Apr 2022 19:32:08 -0400 Subject: [PATCH] Update title length (#402) * minor graphical updates and add datefield for backdating posts * blacken files and fix dep problem * Bump version number * date in form should be optional * oh look more formatting changes that aren't relevant to what I'm working on AT ALL * update title length * Bump version number Co-authored-by: itsthejoker --- blossom/templates/website/index.html | 2 +- pyproject.toml | 2 +- website/migrations/0002_alter_post_title.py | 18 ++++++++++++++++++ website/models.py | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 website/migrations/0002_alter_post_title.py diff --git a/blossom/templates/website/index.html b/blossom/templates/website/index.html index f16490c6..584cee96 100644 --- a/blossom/templates/website/index.html +++ b/blossom/templates/website/index.html @@ -16,7 +16,7 @@

{% endif %} {% for p in posts %}

-

{{ p.title }}

+

{{ p.title|truncatechars:70 }}

Published {{ p.date }}