aboutsummaryrefslogtreecommitdiffstats
path: root/aggregator/templates
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-06-03 22:47:44 +0200
committerGravatar Tom Willemsen2012-06-03 22:47:44 +0200
commite4f6b3bd35a8f79df47f264bf9fc7f63111a8af4 (patch)
tree65611d01e4ee5732fc47a18ca24d0b8d1fd7490a /aggregator/templates
parent0f49886db50c07b050f1147896c37d959046988b (diff)
downloadryuslash.org-e4f6b3bd35a8f79df47f264bf9fc7f63111a8af4.tar.gz
ryuslash.org-e4f6b3bd35a8f79df47f264bf9fc7f63111a8af4.zip
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.
Diffstat (limited to 'aggregator/templates')
-rw-r--r--aggregator/templates/aggregator/posts.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<article class="post">
(<span class="keyword">defpost</span>
<a href="{{ post.link }}"
- class="variable-name">{{ post.title|slugify|nameless }}</a>
+ class="variable-name">{{ post.title|slugify|nameless|truncate:48 }}</a>
(<img src="/static/images/logos/{{ post.icon }}" width="16"
height="16"/>)
<div class="doc">