I have my homepage just to display a summary of my blog post. If the entire blog post is small, i just post everything in the summary.
I have a read more link under each post, but I would like to hide that link if there is no body.
Is this possible?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 26, 2008 2:43am
Subscribe [2]#1 / Feb 26, 2008 2:43am
I have my homepage just to display a summary of my blog post. If the entire blog post is small, i just post everything in the summary.
I have a read more link under each post, but I would like to hide that link if there is no body.
Is this possible?
#2 / Feb 26, 2008 2:48am
Sure,
look up conditionals in the docs. E.g:
{if news_body_extended}<a href="http://{my_weblog}/entry/{url_title}">Click for more</a>{/if}#3 / Feb 26, 2008 10:01am
Thank you!