templates partial and homepage buttons