GoBlogger

Simple blogging. Single-binary deployment, easy for everyone.


Post layout partial

Concrete pattern for a reusable post layout building block.

A post partial should standardize presentation: title, date, excerpt, tags, and link.

Minimal content

  • linked title
  • meta line (date, optional lastmod)
  • excerpt
  • tag links

Benefit

If you later change card layout or metadata, you do it once in the partial instead of multiple templates.

This is especially useful when home, tag pages, and search results share the same post presentation.