site: support permalinks. fixes #184