You can quickly grab embed code for a Pixelfed post, by choosing the Share and then the Embed option from the [...] menu on the Pixelfed web interface at the top right of the post.