rewrite calendar page template by slim