extract base.html and add github ribbon