publish: fixed Pinterest-style layout

generated from commit 92509b171eba4b60b282b5373aed5335c39d078a