only compress on production
toc rendering added
post updates