set datetime and slug server side too, in case js is disabled