Make theme snippet CE friendly (6.1.x)

https://issues.liferay.com/browse/LRDOCS-343