Sayfa.Blocks.Footer (Sayfa v0.5.0)

Copy Markdown View Source

Site footer block.

Renders a footer with copyright information, feed links, and icon-only social links.

Assigns

  • :year — copyright year (defaults to current year)
  • :author — author name (falls back to site.author or site.title)
  • :site — site config map (used for author and social_links)
  • :t — translation function (injected by the template system)

Examples

<%= @block.(:footer, author: "Jane Doe") %>