def _is_weblog_entry(pagename):
    """Return True if the page is a weblog entry."""
    if not pagename:
        return
    parts = pagename.split("/")
    if not parts[0] == "articles":
        return
    if not len(parts) == 5:
        return
    if parts[-1] == "index":
        return
    return True