MovableBlog: no_generate attribute
June 19, 2002
Ben reveals another undocumented feature: no_generate attribute for <MTEntryExcerpt$>.
This is useful for when you want to have an excerpt of your choosing but, when you don't write one in yourself, nothing shows up. Or, you could test to see if there is an excerpt using PHP, and print a message like "No Excerpt." if there's no excerpt.
$excerpt = "<$MTEntryExcerpt no_generate="1"$>";
print "No Excerpt.";