make jekyll templates more DRY