Modify ↓
Opened 18 years ago
Closed 17 years ago
#1717 closed enhancement (fixed)
Ability to hardsplit post for post autolist and full post page. Also adds ability to change "Read more" link (defaults to '(...)')
Reported by: | mocksoul | Owned by: | John Hampton |
---|---|---|---|
Priority: | normal | Component: | TracBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | mocksoul@… | Trac Release: | 0.10 |
Description
Hi guys!
I have added some extra functionality: SplitPost macro. While displaying post - it just displays hr (<hr/>
). But _trim_page()
function can extract "summary" part from post with this macro. Also extracts first argument and (if present, of course) - make customized "Read full post" link for post list.
Usage is absolutely simple:
Post post post [[SplitPost(Read Much More...)]] This is "Much more" part :)
Patch is very simple, and was written in 10 minutes :). See attachment. Maybe I'll make many more patches and enchancements, do you interested in them? =)
I have worked with last svn 0.10 branch.
Attachments (1)
Change History (3)
Changed 18 years ago by
Attachment: | tracblog.patch added |
---|
comment:1 Changed 17 years ago by
Status: | new → assigned |
---|
Great patch. Thanks for the feature. I'll try to apply it this weekend.
I'm always interested in patches :)
Note: See
TracTickets for help on using
tickets.
Patch