Add a separator() mixin to avoid code duplication for posts and widgets