Limiting foreach to a specific #?
I'd like to have my front page be a specific number of articles, regardless of how often I post (say, the 5 most recent). I didn't see a way to limit the foreach to a specific number. Is there one?
ok! yes! We implemented this feature. I'm testing it now on my weblog (the otherwise uninteresting "Last 5 books" feature).
Fog Creek Home