From e4f6b3bd35a8f79df47f264bf9fc7f63111a8af4 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 3 Jun 2012 22:47:44 +0200 Subject: Add truncate and update nameless I don't want to see `by-ryuslash' any more than I want to see `ryuslash-', so I changed the regex. Also added a filter to truncate variables, since places like identica just send the message as the title it can get quite long. --- aggregator/templates/aggregator/posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aggregator/templates') diff --git a/aggregator/templates/aggregator/posts.html b/aggregator/templates/aggregator/posts.html index 094ad25..14b3eda 100644 --- a/aggregator/templates/aggregator/posts.html +++ b/aggregator/templates/aggregator/posts.html @@ -11,7 +11,7 @@
(defpost {{ post.title|slugify|nameless }} + class="variable-name">{{ post.title|slugify|nameless|truncate:48 }} ()
-- cgit v1.2.3-54-g00ecf