Daily Dev Notes 2024/06/04
Did some work on the post_content
template tag. I changed it so that if it detects there's a Posts
object in the context, it will show the truncated post by default.
But now that I've done this, I was wondering whether I need another argument, or another tag to be able to control the truncated content. For example, I may want to display full content on some pages, even when there is a Posts
object in the context. I could either add a truncated=False
argument, or perhaps another tag that either always shows full content, or always shows truncated text. But that's something to consider in the future.
For now, I've bumped the DJ Press version up to 0.3.5.