refactor: dry up code for home page blog and twitter feed