The San Francisco-based publisher became the latest media company to slash jobs.